public void Ignores_casing_of_the_expected_value_when_matching() { var comparer = new BooleanValueComparer(); comparer.TheseValuesAreTheSame("true", true).ShouldBeTrue(); comparer.TheseValuesAreTheSame("FALSE", false).ShouldBeTrue(); comparer.TheseValuesAreTheSame("truE", true).ShouldBeTrue(); comparer.TheseValuesAreTheSame("false", false).ShouldBeTrue(); }
public void Returns_false_if_the_value_and_string_do_not_match() { var comparer = new BooleanValueComparer(); comparer.TheseValuesAreTheSame("True", false).ShouldBeFalse(); comparer.TheseValuesAreTheSame("False", true).ShouldBeFalse(); }