Beispiel #1
0
        public void Given_that_a_split_with_a_number_higher_than_2_was_done_before()
        {
            _fake = new FakeWithGillian(Gillian.Split);
            var game = new Game(_fake.Split);

            game.Go(3);
        }
Beispiel #2
0
        public void Then_the_split_is_called_4_times()
        {
            var fake = new FakeWithGillian(Gillian.Split);
            var game = new Game(fake.Split);

            game.Go(5);
            Assert.That(fake.NumberOfCalls, Is.EqualTo(4));
        }
Beispiel #3
0
 public void Given_that_a_split_with_a_number_higher_than_2_was_done_before()
 {
     _fake = new FakeWithGillian(Gillian.Split);
       var game = new Game(_fake.Split);
       game.Go(3);
 }
Beispiel #4
0
 public void Then_the_split_is_called_4_times()
 {
     var fake = new FakeWithGillian(Gillian.Split);
       var game = new Game(fake.Split);
       game.Go(5);
       Assert.That(fake.NumberOfCalls, Is.EqualTo(4));
 }