Beispiel #1
0
        public void BasicTests4()
        {
            var kata = new Kata();

            Assert.AreEqual(2, kata.RunnersMeetings(new int[] { 1, 1000 }, new int[] { 23, 22 }));
        }
Beispiel #2
0
        public void BasicTests2()
        {
            var kata = new Kata();

            Assert.AreEqual(2, kata.RunnersMeetings(new int[] { 1, 4, 2 }, new int[] { 5, 6, 2 }));
        }
Beispiel #3
0
        public void BasicTests3()
        {
            var kata = new Kata();

            Assert.AreEqual(-1, kata.RunnersMeetings(new int[] { 1, 2, 3 }, new int[] { 1, 1, 1 }));
        }
Beispiel #4
0
        public void BasicTests()
        {
            var kata = new Kata();

            Assert.AreEqual(3, kata.RunnersMeetings(new int[] { 1, 4, 2 }, new int[] { 27, 18, 24 }));
        }