Ejemplo n.º 1
0
 public void Ignores_casing_of_the_expected_value_when_matching()
 {
     var comparer = new BoolValueComparer();
     comparer.TheseValuesAreTheSame("true", true).ShouldBeTrue();
     comparer.TheseValuesAreTheSame("FALSE", false).ShouldBeTrue();
     comparer.TheseValuesAreTheSame("truE", true).ShouldBeTrue();
     comparer.TheseValuesAreTheSame("false", false).ShouldBeTrue();
 }
Ejemplo n.º 2
0
 public void Returns_false_if_the_value_and_string_do_not_match()
 {
     var comparer = new BoolValueComparer();
     comparer.TheseValuesAreTheSame("True", false).ShouldBeFalse();
     comparer.TheseValuesAreTheSame("False", true).ShouldBeFalse();
 }