public void NeedMoveFirstTimeTest() { // NOTE : Arrange. var m = new SlothMoveByFirstSuccess<object>(() => null, default(int)); // NOTE : Act. var isneed = m.IsNeedMove; // NOTE : Assert. Assert.IsTrue(isneed); }
public void NotNeedMoveAfterSuccessTest() { // NOTE : Arrange. var m = new SlothMoveByFirstSuccess<object>(() => null, default(int)); m.Move(0); // NOTE : Act. var isneed = m.IsNeedMove; // NOTE : Assert. Assert.IsFalse(isneed); }