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: conv_test.go
    path of file: ./repos/csvq/lib/value
    
    the code of the file until where you have to start completion: package value

import (
	"math"
	"testing"
	"time"

	"github.com/mithrandie/csvq/lib/option"

	"github.com/mithrandie/ternary"
)

func TestStrToTime(t *testing.T) {
	formats := []string{"01/02/2006"}
	location, _ := time.LoadLocation("UTC")

	s := "01/02/2006"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/11/2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t
    
func TestStrToTime(t *testing.T) {
	formats := []string{"01/02/2006"}
	location, _ := time.LoadLocation("UTC")

	s := "01/02/2006"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/11/2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/01/02 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-1-2 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05 -08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05 -0800"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006/1/2 15:04:05 PST"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "02 Jan 06 15:04 PDT"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "02 Jan 06 15:04 -0700"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02T15:04:05-08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02T15:04:05+08:00"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "2006-01-02T15:04:05"
	if _, ok := StrToTime(s, formats, location); !ok {
		t.Errorf("failed, want to success for %q", s)
	}

	s = "e"
	if _, ok := StrToTime(s, formats, location); ok {
		t.Errorf("successeded, want to fail for %q", s)
	}

	s = "2006-01-02"
	tm, _ := StrToTime(s, formats, location)
	if tm.Location() != location {
		t.Errorf("location should be %q", location.String())
	}

	s = "2006-01-02T15:04:05+08:00"
	tm, _ = StrToTime(s, formats, location)
	z, i := tm.Zone()
	if z != "" {
		t.Errorf("zone name shoud be empty")
	}
	if i != 28800 {
		t.Errorf("zone offset should be %d", 28800)
	}
}