You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: slice_test.go
    path of file: ./repos/slice
    
    the code of the file until where you have to start completion: package slice_test

import (
	"ref
    
func TestContains(t *testing.T) {
	// Test case 1: Check if value is present in the slice.
	s := &slice.Slice[string]{"apple", "banana", "orange"}
	result := s.Contains("banana")
	if !result {
		t.Errorf("Expected true, but got false")
	}

	// Test case 2: Check if value is not present in the slice.
	result = s.Contains("grape")
	if result {
		t.Errorf("Expected false, but got true")
	}
}