コード例 #1
0
 public void ShouldReturnValidValue(string testInput, string expectedOutput)
 => Assert.AreEqual(expectedOutput, NextBiggestNumber.GetNext(testInput));
コード例 #2
0
 public void ShouldThrowInvalidArgumentException(string testInput)
 => Assert.Throws <ArgumentException>(() => NextBiggestNumber.GetNext(testInput));