예제 #1
0
        public void TripleDoubleTest()
        {
            TripleDouble triple = new TripleDouble
            {
                X = 125.5,
                Y = 1024.125
            };

            Assert.AreEqual(@"X125.5 Y1024.125 Z0.0", triple.ToString());
        }
예제 #2
0
        public void TripleDoubleDefaultTest()
        {
            TripleDouble triple = new TripleDouble();

            Assert.AreEqual(@"X0.0 Y0.0 Z0.0", triple.ToString());
        }