Beispiel #1
0
        public void BasicTest1()
        {
            CountAllSheepOnFarmInHeightsOfNewZealand kata = new CountAllSheepOnFarmInHeightsOfNewZealand();

            int[] friday   = new int[] { 1, 2 };
            int[] saturday = new int[] { 3, 4 };
            Assert.AreEqual(5, kata.lostSheep(friday, saturday, 15));
        }
Beispiel #2
0
        public void BasicTest3()
        {
            CountAllSheepOnFarmInHeightsOfNewZealand kata = new CountAllSheepOnFarmInHeightsOfNewZealand();

            int[] friday   = new int[] { 5, 1, 4 };
            int[] saturday = new int[] { 5, 4 };
            Assert.AreEqual(10, kata.lostSheep(friday, saturday, 29));
        }