public void TestDropWithKeyOnlyCalledOnce() { _context["counter"] = new CounterDrop(); Assert.AreEqual(1, _context["counter['count']"]); Assert.AreEqual(2, _context["counter['count']"]); Assert.AreEqual(3, _context["counter['count']"]); }
public void TestDropWithVariableCalledOnlyOnce() { _context["counter"] = new CounterDrop(); Assert.AreEqual(1, _context["counter.count"]); Assert.AreEqual(2, _context["counter.count"]); Assert.AreEqual(3, _context["counter.count"]); }