Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public void TestIdentify()
 {
     Locations _test = new Locations("entry","the entry of ...");
     Assert.AreEqual (_test.Locate("here"),_test);
 }