feat: BooleanUtilTest 补充测试用例 #581

pull/588/head
wangjie-github 3 years ago
parent babc81bd2f
commit f2f30770fc

@ -23,11 +23,13 @@ public class BooleanUtilTest {
@Test @Test
public void assertToBoolean() { public void assertToBoolean() {
Assert.isTrue(BooleanUtil.toBoolean("true"));
Assert.isTrue(BooleanUtil.toBoolean("yes"));
Assert.isTrue(BooleanUtil.toBoolean("1"));
} }
@Test @Test
public void assertIsTrue() { public void assertIsTrue() {
Assert.isTrue(BooleanUtil.isTrue(true));
} }
} }

Loading…
Cancel
Save