示例#1
0
        public void TestPoint2()
        {
            List <BigInteger> expected = new List <BigInteger>();
            List <BigInteger> actual   = new List <BigInteger>();


            expected.Add(1);
            expected.Add(1);
            expected.Add(2);
            expected.Add(3);

            actual = Point2.GetAnswer(list);


            for (int i = 0; i < expected.Count; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
示例#2
0
 public void Point2XML()
 {
     Assert.IsTrue((Point2.GetAnswer(doc).First().Key).Contains("Germany"));
 }