Revert "[enhancement] 支持Float类型"

This reverts commit 4ccb44ee26.
This commit is contained in:
VampireAchao
2023-03-15 09:59:53 +08:00
parent 8efe8fb2fd
commit 2919749c8f
2 changed files with 1 additions and 5 deletions

View File

@@ -105,9 +105,6 @@ public class BooleanUtilTest {
Assert.assertTrue(BooleanUtil.isJsFalsy(0.0D));
Assert.assertTrue(BooleanUtil.isJsFalsy(0.00D));
Assert.assertTrue(BooleanUtil.isJsFalsy(-0.00D));
Assert.assertTrue(BooleanUtil.isJsFalsy(0.0F));
Assert.assertTrue(BooleanUtil.isJsFalsy(0.00F));
Assert.assertTrue(BooleanUtil.isJsFalsy(-0.00F));
Assert.assertTrue(BooleanUtil.isJsFalsy(""));
Assert.assertTrue(BooleanUtil.isJsFalsy(null));
}
@@ -123,6 +120,5 @@ public class BooleanUtilTest {
Assert.assertTrue(BooleanUtil.isJsTruthy(1L));
Assert.assertTrue(BooleanUtil.isJsTruthy(0.1D));
Assert.assertTrue(BooleanUtil.isJsTruthy(-0.01D));
Assert.assertTrue(BooleanUtil.isJsTruthy(-0.01F));
}
}