Loading ...

What Are Asserts In Nunit

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)); }