Esempio n. 1
0
        public void Given_the_game_has_started_then_I_can_fish()
        {
            var subject = new Game();
            subject.Start();

            subject.Fish();
        }
Esempio n. 2
0
        public void Given_the_game_has_started_when_I_fish_in_all_of_the_first_three_rounds_then_I_will_have_three_food()
        {
            var subject = new Game();
            subject.Start();

            subject.Fish();
            subject.NextRound();
            subject.Fish();
            subject.NextRound();
            subject.Fish();
            subject.NextRound();

            var result = subject.GetResources();
            Assert.That(result.Food, Is.EqualTo(3));
        }
Esempio n. 3
0
        public void Given_the_game_has_not_started_when_I_try_to_fish_then_an_exception_will_be_thrown()
        {
            var subject = new Game();

            subject.Fish();
        }