Esempio n. 1
0
            public void It_starts_with_the_first_scene()
            {
                var scene  = new StoryScene();
                var engine = An.Engine().WithScene(scene).Build();

                engine.NextScene();

                Assert.AreEqual(engine.CurrentScene, scene);
            }
Esempio n. 2
0
 public void It_requires_a_scene_to_start()
 {
     Assert.Throws <ArgumentNullException>(() => An.Engine().Build());
 }