Ejemplo n.º 1
0
 public void getKey()
 {
     PlayerInventorySingle pi = new PlayerInventorySingle();
     pi.GotKey(1);
     Assert.That(pi.HasKey(1));//check after getting key inventory updates
 }
Ejemplo n.º 2
0
 public void checkNoKey()
 {
     PlayerInventorySingle pi = new PlayerInventorySingle();
     Assert.That(pi.HasKey(2) == false);//check dont have key will say inventory dont have
 }