Exemple #1
0
        public void  레이어가_특정_오브젝트를_건들때_닿았다는_결과가_참인가()
        {
            Player         player = new Player(0, 0, 0, 3, false);
            HavingLocation door   = new Door("a", 0, 0, 4, 3);

            //플레이어를 매개변수로 받아야 하나
            Assert.AreEqual(true, player.isTouched(player, door));
        }
Exemple #2
0
        public void  레이어가_특정_오브젝트를_건들때_닿았다는_결과가_참인가()
        {
            Player player = new Player(0, 0, 0, 3, false);
            Door   door   = new Door("a", 2, 10, 5, 2);

            bool b = player.isTouched(player, door);

            Assert.AreEqual(b, false);
        }