public void Point1XML() { int money = 4000; var actual = from customer in Point1.GetAnswer(doc, money) select customer.Element("id").Value; Assert.IsTrue(actual.First().Equals("ALFKI")); }
public void TestPoint1() { List <BigInteger> expected = new List <BigInteger>(); List <BigInteger> actual = new List <BigInteger>(); expected.Add(0); expected.Add(1); expected.Add(1); expected.Add(2); expected.Add(3); actual = Point1.GetAnswer(list); for (int i = 0; i < expected.Count; i++) { Assert.AreEqual(expected[i], actual[i]); } }