예제 #1
0
        public void Form2Test()
        {
            // Form1 form = new Form1();
            ControlGame cg = new ControlGame();
            String      h  = cg.checkArray("Peter 10 Gosy 120", "Katie");

            Assert.AreNotEqual(h, "130");
        }
예제 #2
0
        public void Form1Test()
        {
            // Form1 form = new Form1();
            ControlGame cg = new ControlGame();
            String      h  = cg.checkArray("john 10 Katie 120", "Katie");

            Assert.AreEqual(h, "130");
        }