[Test] public void ShouldUpdateTransformWhenBlockMoves() { Block block = behaviour.GetBlock(); block.Move(new Translation(1, 0)); behaviour.Update(); Assert.That(behaviour.transform.position.x, Is.EqualTo(1.0f)); Assert.That(behaviour.transform.position.y, Is.EqualTo(0)); block.Move(new Translation(0, -1)); behaviour.Update(); Assert.That(behaviour.transform.position.x, Is.EqualTo(1.0f)); Assert.That(behaviour.transform.position.y, Is.EqualTo(-1.0f)); }