public void TestAcc2() { Converter.Editor editor = new Converter.Editor(); int ExpectedValue = 0; int ActualValue = editor.Acc(); Assert.AreEqual(ExpectedValue, ActualValue); }
public void TestAcc3() { Converter.Editor editor = new Converter.Editor(); editor.AddDelim(); editor.AddDigit(1); editor.AddDigit(9); editor.AddDigit(9); editor.AddDigit(9); editor.AddDigit(9); int ExpectedValue = 5; int ActualValue = editor.Acc(); Assert.AreEqual(ExpectedValue, ActualValue); }