public void GPSCreationTest() { GPSLocation gps = new GPSLocation("myID", 30.25, 12.42); Assert.AreEqual(30.25, gps.getLattitude()); Assert.AreEqual(12.42, gps.getLongitude()); }
public void GPSCreation2Test() { GPSLocation gps = new GPSLocation(10.12, 21.21, 51.12, 18.192); Assert.AreEqual(10.12, gps.getLattitude()); Assert.AreEqual(21.21, gps.getLongitude()); Assert.AreEqual(51.12, gps.getX()); Assert.AreEqual(18.192, gps.getY()); }
public void GPSGetLattitude() { GPSLocation gps = new GPSLocation("myID4", 1.21, 2.12); Assert.AreEqual(1.21, gps.getLattitude()); }