diff --git a/hashstructure_test.go b/hashstructure_test.go index f0259e1..0bc6909 100644 --- a/hashstructure_test.go +++ b/hashstructure_test.go @@ -711,6 +711,42 @@ func TestHash_golden(t *testing.T) { In: 42, Expect: 11375694726533372055, }, + { + In: uint8(42), + Expect: 12638153115695167477, + }, + { + In: int16(42), + Expect: 590708257076254031, + }, + { + In: int32(42), + Expect: 843871326190827175, + }, + { + In: int64(42), + Expect: 11375694726533372055, + }, + { + In: uint16(42), + Expect: 590708257076254031, + }, + { + In: uint32(42), + Expect: 843871326190827175, + }, + { + In: uint64(42), + Expect: 11375694726533372055, + }, + { + In: float32(42), + Expect: 5558953217260120943, + }, + { + In: float64(42), + Expect: 12162027084228238918, + }, { In: true, Expect: 12638153115695167454,