Exemplo n.º 1
0
        public void fPointConstructorTest2()
        {
            fPoint target = new fPoint();

            DateTime dt = new DateTime(2000, 1, 1, 0, 18, 31, 0);

            Assert.AreEqual(target.getX_Age(), 1111f);
            Assert.AreEqual(target.getY_Value_AsDate(), dt);
        }
Exemplo n.º 2
0
        public void fPointConstructorTest1()
        {
            double x = 10F; // TODO: Initialize to an appropriate value
            double y = 10F; // TODO: Initialize to an appropriate value
            DateTime dt = new DateTime(2000, 1, 1, 0, 0, 10, 0);
            fPoint target = new fPoint(x, y);

            Assert.AreEqual(target.getX_Age(), 10);
            Assert.AreEqual(target.getY_Value_AsDate(), dt);
        }
Exemplo n.º 3
0
 public void getX_AgeTest()
 {
     fPoint target = new fPoint(); // TODO: Initialize to an appropriate value
     float expected = 1111f; // TODO: Initialize to an appropriate value
     float actual;
     actual = target.getX_Age();
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 4
0
 public void fPointConstructorTest()
 {
     fPoint target = new fPoint();
     Assert.AreEqual(target.getX_Age(), 1111f);
     Assert.AreEqual(target.getY_Value_AsFloat(), 1111f);
 }
Exemplo n.º 5
0
 public void setX_AgeTest()
 {
     fPoint target = new fPoint(); // TODO: Initialize to an appropriate value
     float date = 120F; // TODO: Initialize to an appropriate value
     target.setX_Age(date);
     Assert.AreEqual(target.getX_Age(), date);
 }