SnakeTests SnakeHasTwoParts Method Delta Engine Documentation

Namespace: Snake.Tests
Assembly: Snake.Tests (in Snake.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void SnakeHasTwoParts()
Examples

[Test, CloseAfterFirstFrame]
public void SnakeHasTwoParts()
{
    var game = new Game(Resolve<Window>());
    game.StartGame();
    Assert.AreEqual(2, game.Snake.Get<Body>().BodyParts.Count);
}
See Also