public void EditCommand_EditEmptySpace_NoObjectConsultsWithPlayer() { var command = new EditCommand(_map, new XYZ(1, 1, 0), _player); command.Go(); Assert.AreEqual(null, _engineer); }
public void EditCommand_PlayerEditsASecurityObject_ObjectConsultsWithPlayer() { _layer[1, 1].Put(this); var command = new EditCommand(_map, new XYZ(1, 1, 0), _player); command.Go(); Assert.AreEqual(_player, _engineer); }
public void EditCommand_EditOutsideOfMap_NoExceptionsThrown() { var command = new EditCommand(_map, SpecialLocation.OffOfMap, _player); command.Go(); }