go/src/go/constant/value_test.go

var intTests

var floatTests

var imagTests

func testNumbers(t *testing.T, kind token.Token, tests []string) {}

// TestNumbers verifies that differently written literals
// representing the same number do have the same value.
func TestNumbers(t *testing.T) {}

var opTests

func TestOps(t *testing.T) {}

func eql(x, y Value) bool {}

var xxx

var issue14262

var stringTests

func TestString(t *testing.T) {}

func val(lit string) Value {}

var optab

func panicHandler(v *Value) {}

func doOp(x Value, op token.Token, y Value) (z Value) {}

var fracTests

func TestFractions(t *testing.T) {}

var bytesTests

func TestBytes(t *testing.T) {}

func TestUnknown(t *testing.T) {}

func TestMakeFloat64(t *testing.T) {}

type makeTestCase

func dup(k Kind, x any) makeTestCase {}

func TestMake(t *testing.T) {}

func BenchmarkStringAdd(b *testing.B) {}

var bitLenTests

func TestBitLen(t *testing.T) {}