public void ValidateLatBoundaryValuesInvalidTest() { InputImageDetailsViewModel_Accessor target = new InputImageDetailsViewModel_Accessor(); string topLeft = "90"; string bottomRight = "90"; bool expected = false; bool actual; actual = target.ValidateLatBoundaryValues(topLeft, bottomRight); Assert.AreEqual(expected, actual); Assert.AreEqual(Properties.Resources.InvalidBoundaryLatValError, target.InvalidBoundaryLatValErrorMessage); }
public void ValidateLatBoundaryValuesPositiveTest() { InputImageDetailsViewModel_Accessor target = new InputImageDetailsViewModel_Accessor(); string topLeft = "90"; string bottomRight = "89"; bool expected = true; bool actual; actual = target.ValidateLatBoundaryValues(topLeft, bottomRight); Assert.AreEqual(expected, actual); Assert.AreEqual(string.Empty, target.InvalidBoundaryLatValErrorMessage); }