public void AzimuthGoodConversions() { AzimuthConverter cvt; cvt = new AzimuthConverter(_testAzimuthValue); Assert.AreEqual(_testAzimuthDegrees, cvt.Degrees); Assert.AreEqual(_testMinutes, cvt.Minutes); Assert.AreEqual(_testSeconds, cvt.Seconds); string result = cvt.ToString(); Assert.AreEqual(_testAzimuthString, result); }
public void AzimuthRangeLowSeconds() { int temp = _testSeconds - 70; AzimuthConverter cvt = new AzimuthConverter(_testDegrees, _testMinutes, temp); }
public void AzimuthRangeLowDegrees() { int temp = _testAzimuthDegrees * -1; AzimuthConverter cvt = new AzimuthConverter(temp, _testMinutes, _testSeconds); }
public void AzimuthRangeHighMinutes() { int temp = _testMinutes + 70; AzimuthConverter cvt = new AzimuthConverter(_testDegrees, temp, _testSeconds); }
public void AzimuthRangeLowConversion() { AzimuthConverter cvt = new AzimuthConverter(-0.1m); }
public void AzimuthRangeHighConversion() { AzimuthConverter cvt = new AzimuthConverter(360.1m); }