Example #1
0
        public void Point3XML()
        {
            int money = 2000;

            var actual = from customer in Point3.GetAnswer(doc, money)
                         select customer.Element("id").Value;

            Assert.IsTrue(actual.First().Equals("COMMI"));
        }
Example #2
0
        public void TestPoint3()
        {
            List <BigInteger> expected = new List <BigInteger>();
            List <BigInteger> actual   = new List <BigInteger>();

            expected.Add(0);

            actual = Point3.GetAnswer(list);


            for (int i = 0; i < expected.Count; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }