Assertion
A check that a result matches what you expect.
What is Assertion?
An assertion checks that a result is what you expect; if not, the test fails with a message.
Assert.Equal(108m, PriceCalculator.WithTax(100m));
Level: Novice · More Unit Testing terms at this level
Updated