Beispiel #1
0
        public void LatitudeConstructorTest()
        {
            double c      = 0F;                 // TODO: Initialize to an appropriate value
            var    n      = new NorthOrSouth(); // TODO: Initialize to an appropriate value
            var    target = new Latitude(c, n);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Beispiel #2
0
        public void NorthOrSouthTest()
        {
            var target       = new Sentence();     // TODO: Initialize to an appropriate value
            int field_number = 0;                  // TODO: Initialize to an appropriate value
            var expected     = new NorthOrSouth(); // TODO: Initialize to an appropriate value
            var actual       = target.NorthOrSouth(field_number);

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Beispiel #3
0
        public void NorthingTest()
        {
            var target   = new Latitude();     // TODO: Initialize to an appropriate value
            var expected = new NorthOrSouth(); // TODO: Initialize to an appropriate value

            target.Northing = expected;
            var actual = target.Northing;

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Beispiel #4
0
 public Latitude(double c, NorthOrSouth n) : base(c)
 {
     Northing = n;
 }