<commit_before>package sqlbuilder

import (
	"github.com/stretchr/testify/assert"
	"testing"
	"time"
)

func TestLiteralConvert(t *testing.T) {
	a := assert.New(t)
	type testcase struct {
		in  literal
		out interface{}
		err bool
	}
	var cases = []testcase{
		{toLiteral(int(10)), int64(10), false},
		{toLiteral(int64(10)), int64(10), false},
		{toLiteral(uint(10)), uint64(10), false},
		{toLiteral(uint64(10)), uint64(10), false},
		{toLiteral(float32(10)), float64(10), false},
		{toLiteral(float64(10)), float64(10), false},
		{toLiteral(bool(true)), bool(true), false},
		{toLiteral([]byte{0x11}), []byte{0x11}, false},
		{toLiteral(string("makise-kurisu")), string("makise-kurisu"), false},<commit_msg>Fixed test case miss.<commit_after>package sqlbuilder

import (
	"github.com/stretchr/testify/assert"
	"testing"
	"time"
)

func TestLiteralConvert(t *testing.T) {
	a := assert.New(t)
	type testcase struct {
		in  literal
		out interface{}
		err bool
	}
	var cases = []testcase{
		{toLiteral(int(10)), int64(10), false},
		{toLiteral(int64(10)), int64(10), false},
		{toLiteral(uint(10)), int64(10), false},
		{toLiteral(uint64(10)), int64(10), false},
		{toLiteral(float32(10)), float64(10), false},
		{toLiteral(float64(10)), float64(10), false},
		{toLiteral(bool(true)), bool(true), false},
		{toLiteral([]byte{0x11}), []byte{0x11}, false},
		{toLiteral(string("makise-kurisu")), string("makise-kurisu"), false},
{'fraction_non_alphanumeric': 0.19985974754558206, 'fraction_numerical': 0.07012622720897616, 'mean_word_length': 6.099502487562189, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7342258', 'n_tokens_mistral': 622, 'n_tokens_neox': 539, 'n_words': 102}