public void HorizontalArrowClass_FlipMethod_ReturnsObjectWithSameHeight() { HorizontalArrow testObject = GetArrow(); HorizontalArrow testOutput = testObject.Flip(); Assert.AreEqual(testOutput.Height, testObject.Height); }
public void HorizontalArrowClass_FlipMethod_ReturnsDifferentObject() { HorizontalArrow testObject = GetArrow(); HorizontalArrow testOutput = testObject.Flip(); Assert.AreNotSame(testOutput, testObject); }
public void HorizontalArrowClass_FlipMethod_ReturnsObjectWithSameStemThickness() { HorizontalArrow testObject = GetArrow(); HorizontalArrow testOutput = testObject.Flip(); Assert.AreEqual(testOutput.StemThickness, testObject.StemThickness); }
public void HorizontalArrowClass_FlipMethod_ReturnsObjectWithDirectionPropertyToLeft_IfDirectionPropertyEqualsToRight() { HorizontalArrow testObject = GetArrow(HorizontalDirection.ToRight); HorizontalArrow testOutput = testObject.Flip(); Assert.AreEqual(HorizontalDirection.ToLeft, testOutput.Direction); }