Example #1
0
        public void TestLifeIsLessThanZero()
        {
            new LifeIsLessThanZero("0");
            GameTrigger.OnGameOver();
            var list = EntitiesRunner.Current.GetEntitiesOfType <FontText>();

            Assert.AreEqual(1, list.Count);
            Assert.AreEqual("Game Over", list[0].Text);
        }