public void SetAndCheckChange_SameCoords__ReturnsFalse() { PositionChangeChecker testObj = new PositionChangeChecker(); testObj.SetAndCheckChange(100, 100).ShouldBeTrue(); testObj.SetAndCheckChange(100, 100).ShouldBeFalse(); }
public void SetAndCheckChange_NewCoordsTwice__ReturnsTrueTwice() { PositionChangeChecker testObj = new PositionChangeChecker(); testObj.SetAndCheckChange(100, 100).ShouldBeTrue(); testObj.SetAndCheckChange(1000, 1000).ShouldBeTrue(); }