Beispiel #1
0
 public void Test1()
 {
     Console.WriteLine("****** Basic Tests");
     Assert.AreEqual(new int[] { 0, 32, 18 }, Tortoise.Race(720, 850, 70));
     Assert.AreEqual(new int[] { 3, 21, 49 }, Tortoise.Race(80, 91, 37));
     Assert.AreEqual(new int[] { 2, 0, 0 }, Tortoise.Race(80, 100, 40));
 }
Beispiel #2
0
 public void Test3()
 {
     Assert.AreEqual(new int[] { 2, 0, 0 }, Tortoise.Race(80, 100, 40));
 }
Beispiel #3
0
 public void Test1()
 {
     Assert.AreEqual(new int[] { 0, 32, 18 }, Tortoise.Race(720, 850, 70));
 }
Beispiel #4
0
 public void Test2()
 {
     Assert.AreEqual(new int[] { 3, 21, 49 }, Tortoise.Race(80, 91, 37));
 }