public void MoveLeft()
{
if (position.X >= LeftBoundary)
position.X -= Speed;
}
public void LeftBoundaryTest() { Spaceship spaceship = new Spaceship(); spaceship.LeftBoundary = 0; spaceship.MoveLeft(); Assert.AreEqual(-spaceship.Speed, spaceship.X); }