예제 #1
0
 public virtual void TestTrueMixedcase()
 {
     Assert.IsTrue(BooleanUtils.ValueOf("TrUe"));
 }
예제 #2
0
 public virtual void TestTrueLowercase()
 {
     Assert.IsTrue(BooleanUtils.ValueOf("true"));
 }
예제 #3
0
 public virtual void TestFalseLowercase()
 {
     Assert.IsFalse(BooleanUtils.ValueOf("false"));
 }
예제 #4
0
 public virtual void TestFalseNonsenseString()
 {
     Assert.IsFalse(BooleanUtils.ValueOf("jabberwocky"));
 }
예제 #5
0
 public virtual void TestNullValue()
 {
     Assert.IsFalse(BooleanUtils.ValueOf(null));
 }