public void TestVeryBigNumberNumber() { var actualResult = Exercise06.Run(999999999999); Assert.AreEqual(108, actualResult); }
public void TestТRoundedNumber() { var actualResult = Exercise06.Run(2000000000); Assert.AreEqual(2, actualResult); }
public void TestZeroNumber() { var actualResult = Exercise06.Run(0); Assert.AreEqual(0, actualResult); }
public void TestТNegativeNumber() { var actualResult = Exercise06.Run(-1354626729); Assert.AreEqual(45, actualResult); }
public void Test_Exercise6(long n, long expected) { var actualResult = Exercise06.Run(n); actualResult.Should().Be(expected); }