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