public void Reverse_ReturnsFeature_WhenCalled() { // Arrange // Act ISurveyFeature actual = m_Sut.Reverse(); // Assert Assert.AreEqual(actual.Id, m_Sut.Id, "Id"); Assert.AreEqual(m_StartPoint, actual.EndPoint, "EndPoint"); Assert.AreEqual(m_EndPoint, actual.StartPoint, "StartPoint"); Assert.AreEqual(Angle.For225Degrees, actual.AngleToXAxisAtStartPoint, "AngleToXAxisAtStartPoint"); Assert.AreEqual(Angle.For45Degrees, actual.AngleToXAxisAtEndPoint, "AngleToXAxisAtEndPoint"); Assert.AreEqual(Constants.LineDirection.Forward, actual.RunDirection, "RunDirection"); Assert.AreEqual(m_Length, actual.Length, "Length"); }
public void Reverse_ReturnsThis_WhenCalled() { // Arrange // Act ISurveyFeature actual = m_Sut.Reverse(); // Assert Assert.AreEqual(actual, m_Sut); }