Example #1
0
        public void Test2()
        {
            var cf = new ConnectFour();

            cf.Place(2).Should().Be(0); //r
            cf.Place(2).Should().Be(0); //g
            cf.Place(3).Should().Be(0); //r
            cf.Place(1).Should().Be(0); //g
            cf.Place(3).Should().Be(0); //r
            cf.Place(3).Should().Be(0); //g
            cf.Place(4).Should().Be(0); //r
            cf.Place(4).Should().Be(0); //g
            cf.Place(4).Should().Be(0); //r
            cf.Place(4).Should().Be(2); //g
        }