Пример #1
0
        public void Available_returns_all_weapons()
        {
            var factory = new WeaponFactory();

            var weapons = factory.Available();

            Assert.Equal(new[] { "Crossbow", "Grenade", "Sword", "Wolf" }, weapons);
        }
Пример #2
0
        public void Available_returns_Crossbow_Grenade_Sword()
        {
            var factory = new WeaponFactory();

            var weapons = factory.Available();

            Assert.Equal(new[] { "Crossbow", "Grenade", "Spear", "Sword" }, weapons);
        }