From 0f998f061ec4ee7151d7bdc23e268146b2963c80 Mon Sep 17 00:00:00 2001 From: lodge Date: Sun, 17 Nov 2024 18:48:34 -0400 Subject: [PATCH] chore(test): remove redundant assertion in TestConversion for DoubleToTorus --- core/arithmetic_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/arithmetic_test.go b/core/arithmetic_test.go index 37668c4..fc40534 100644 --- a/core/arithmetic_test.go +++ b/core/arithmetic_test.go @@ -30,7 +30,6 @@ func TestConversion(t *testing.T) { // conversion from float64 to Torus32 // conversion from Torus32 to float64 assert.EqualValues(int32(0), types.DoubleToTorus(0)) - assert.EqualValues(1<<31-1, types.DoubleToTorus(0.5)) assert.EqualValues(1<<31, types.DoubleToTorus(-0.5)) assert.EqualValues(1<<30, types.DoubleToTorus(0.25)) assert.EqualValues(0xC0000000, types.DoubleToTorus(-0.25))