예제 #1
0
        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']"]);
        }
예제 #2
0
        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"]);
        }
예제 #3
0
		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']"]);
		}
예제 #4
0
		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"]);
		}