Unit Test
A small automated check of one focused unit of behavior.
What is Unit Test in C#?
Unit Test — A small automated check of one focused unit of behavior.
class OrderCalculatorTests
{
[Fact]
public void TotalsAnOrder()
{
int total = 3 * 4;
Assert.Equal(12, total);
}
}
Level: Freelancer · More C# terms at this level
Updated