Beispiel #1
0
        public override string ToString()
        {
            string res = "";

            res += string.Format("Point1- {0}\n", Point1.ToString());
            res += string.Format("Point2- {0}\n", Point2.ToString());
            res += string.Format("Point3- {0}\n", Point3.ToString());
            res += string.Format("Point4- {0}\n", Point4.ToString());
            res += string.Format("Point5- {0}\n", Point5.ToString());
            res += string.Format("Point6- {0}\n", Point6.ToString());
            res += string.Format("Point7- {0}\n", Point7.ToString());
            res += string.Format("Point8- {0}\n", Point8.ToString());
            res += string.Format("Edge- {0}", EdgeLenght);
            return(res);
        }
Beispiel #2
0
        public void Point6XML()
        {
            var actual = Point6.GetAnswer(doc).First().Element("id").Value;

            Assert.IsTrue(actual.Equals("ALFKI"));
        }