public void FoldToTestLowValues() { var distance = 1.40996291920065E-10; var expected = 0; var foldWayToMoon = new FoldingWayToTheMoon(); var results = foldWayToMoon.FoldTo(distance); Assert.AreEqual(expected, results); }
public void FoldToTest() { var distance = 384000000; var expected = 42; var foldWayToMoon = new FoldingWayToTheMoon(); var results = foldWayToMoon.FoldTo(distance); Assert.AreEqual(expected, results); }