Exemple #1
0
        void Skill()
        {
            Ratul ratul = null;

            Assert.Equal(new[] { "move", "hold collar", "knee! knee!! knee!!!" }, ratul.ExecuteDistantAction());
        }
Exemple #2
0
        void Power()
        {
            Ratul ratul = null;

            Assert.Equal(new[] { "move", "pick up", "slam!" }, ratul.ExecuteDistantAction());
        }
Exemple #3
0
        void Kick()
        {
            Ratul ratul = null;

            Assert.Equal("kick", ratul.ExecuteCloseAction());
        }
Exemple #4
0
        void Head()
        {
            Ratul ratul = null;

            Assert.Equal("head head", ratul.ExecuteCloseAction());
        }
Exemple #5
0
        void Punch()
        {
            Ratul ratul = new Ratul(new Punch());

            Assert.Equal("punch", ratul.ExecuteCloseAction());
        }