コード例 #1
0
 public void Test_CubeWithoutOverflowCheck_ShouldNotThrow(int x)
 {
     Integers.CubeWithoutOverflowCheck(x);
 }
コード例 #2
0
 public void Test_CubeWithoutOverflowCheck_ReturnsCorrectValue(int x, int cube)
 {
     Assert.Equal(Integers.CubeWithoutOverflowCheck(x), cube);
 }