public void TestLocateItem() { Locations _test = new Locations("entry","the entry of ..."); Item item1 = new Item( new String[] {"shovel", "spade" }, "a shovel", "This is a might fine ..." ); _test.Inventory.Put (item1); Assert.AreEqual (_test.Locate("shovel"),item1); }
public void TestIdentify() { Locations _test = new Locations("entry","the entry of ..."); Assert.AreEqual (_test.Locate("here"),_test); }