コード例 #1
0
        public void CluesTwoSecond2()
        {
            string[] forTest = { "123", "4", "123", "123" };
            var      answer  = SkyScrapersAll.SetSecondHighestOppositeClueTwoLogic(ref forTest, 4);

            Assert.AreEqual(false, answer);
        }
コード例 #2
0
        public void CluesTwoSecond4Todo()
        {
            string[] forTest = { "12", "12", "6", "1345", "1345", "1345" };
            var      answer  = SkyScrapersAll.SetSecondHighestOppositeClueTwoLogic(ref forTest, 6);

            Assert.AreEqual(false, answer);
        }
コード例 #3
0
 public void CluesTwoSecond1()
 {
     string[] forTest  = { "3", "4", "12", "12" };
     string[] expected = { "3", "4", "12", "2" };
     SkyScrapersAll.SetSecondHighestOppositeClueTwoLogic(ref forTest, 4);
     Assert.AreEqual(expected, forTest);
 }