Exemplo n.º 1
0
 public void Update_SetsValue()
 {
     _systemUnderTest = new ValueTable();
     _systemUnderTest.Update("a", 5);
     Assert.AreEqual(5, _systemUnderTest.LookUp("a"));
 }
Exemplo n.º 2
0
 public void Lookup_NotInTable_ReturnsZero()
 {
     _systemUnderTest = new ValueTable();
     Assert.AreEqual(0, _systemUnderTest.LookUp("a"));
 }