public void TwelveDividedBy_V1() { var nz = NonZeroInteger.Create(2); var actual = TwelveDividedBy.TwelveDividedBy_V1(nz); const int expected = 6; Assert.AreEqual(expected, actual); }
public void TwelveDividedBy_V2() { var actual = TwelveDividedBy.TwelveDividedBy_V2(2); Assert.IsTrue(actual.HasValue); const int expected = 6; Assert.AreEqual(expected, actual.Value); }