File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -711,6 +711,42 @@ func TestHash_golden(t *testing.T) {
711711 In : 42 ,
712712 Expect : 11375694726533372055 ,
713713 },
714+ {
715+ In : uint8 (42 ),
716+ Expect : 12638153115695167477 ,
717+ },
718+ {
719+ In : int16 (42 ),
720+ Expect : 590708257076254031 ,
721+ },
722+ {
723+ In : int32 (42 ),
724+ Expect : 843871326190827175 ,
725+ },
726+ {
727+ In : int64 (42 ),
728+ Expect : 11375694726533372055 ,
729+ },
730+ {
731+ In : uint16 (42 ),
732+ Expect : 590708257076254031 ,
733+ },
734+ {
735+ In : uint32 (42 ),
736+ Expect : 843871326190827175 ,
737+ },
738+ {
739+ In : uint64 (42 ),
740+ Expect : 11375694726533372055 ,
741+ },
742+ {
743+ In : float32 (42 ),
744+ Expect : 5558953217260120943 ,
745+ },
746+ {
747+ In : float64 (42 ),
748+ Expect : 12162027084228238918 ,
749+ },
714750 {
715751 In : true ,
716752 Expect : 12638153115695167454 ,
You can’t perform that action at this time.
0 commit comments