コード例 #1
0
        public void ScissorsLoosesToRock()
        {
            var rock     = new Rock();
            var scissors = new Scissors();

            Assert.That(scissors.Beats(rock), Is.False);
        }
コード例 #2
0
        public void ScissorsBeatsPaper()
        {
            var scissors = new Scissors();
            var paper    = new Paper();

            Assert.That(scissors.Beats(paper), Is.True);
        }
コード例 #3
0
 public void ScissorsLoosesToRock()
 {
     var rock = new Rock();
     var scissors = new Scissors();
     Assert.That(scissors.Beats(rock), Is.False);
 }
コード例 #4
0
 public void ScissorsBeatsPaper()
 {
     var scissors = new Scissors();
     var paper = new Paper();
     Assert.That(scissors.Beats(paper), Is.True);
 }