public void TestSingleSubtraction() { SingleSubtraction rule3 = new SingleSubtraction(); Assert.False(rule3.CheckViolation("IIX")); Assert.False(rule3.CheckViolation("CCM")); Assert.True(rule3.CheckViolation("XXIV")); }
public void TestSingleSubtractionRule() { SingleSubtraction rule = new SingleSubtraction(); Assert.False(rule.Execute("IIX")); Assert.False(rule.Execute("CCM")); Assert.True(rule.Execute("XXIV")); }