Ejemplo n.º 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);
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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);
 }
Ejemplo n.º 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));
 }