public void ExtractingActualValue() { ExtractingConstraint constraint = new ExtractingConstraint("E"); Assertion.AssertEquals("Should be modified value", "A", constraint.ExtractActualValue("ACTUAL")); Assertion.Assert("Should match", constraint.Eval("EQUALS FIRST CHAR")); Assertion.Assert("Should be different", new Not(constraint).Eval("NOT EQUAL")); }
public void ExtractingActualValue() { ExtractingConstraint constraint = new ExtractingConstraint("E"); Assertion.AssertEquals("Should be modified value", "A", constraint.ExtractActualValue("ACTUAL")); Assertion.Assert("Should match", constraint.Eval("EQUALS FIRST CHAR")); Assertion.Assert("Should be different", new Not(constraint).Eval("NOT EQUAL")); }