What Are Asserts In Nunit
24 April 2015
Hello everybody,
just short notice of NUnit function Assert.That
[Test] public void CheckAddition() { Assert.That(CalculatorClass.Minus (5, 2), Is.EqualTo(3)); }
public void CheckAddition() { //old styel
Assert.AreEqual(3, CalculatorClass.Minus (5, 2));
}