public void Limit_Smaller100_ReturnCorrectData(int value) { Assert.Equal(value, SampleClass.Limit(value)); }
public void Limit_Smaller0_ThrowException(int value) { Assert.Throws <ArgumentException>(() => SampleClass.Limit(value)); }
public void Limit_Greater100_ReturnCorrectData(int value) { Assert.Equal(100, SampleClass.Limit(value)); }