예제 #1
0
        public void TestMultiIntIndex()
        {
            MultiDimIndexer calculator = new MultiDimIndexer();

            Assert.AreEqual(10, calculator[2, 5]);
            Assert.AreEqual(10, calculator[5, 2]);
        }
예제 #2
0
 public void TestMultiIntIndex()
 {
     MultiDimIndexer calculator = new MultiDimIndexer();
     Assert.AreEqual(10,calculator[2,5]);
     Assert.AreEqual(10,calculator[5,2]);
 }
예제 #3
0
        public void TestMixedIndexer()
        {
            MultiDimIndexer calculator = new MultiDimIndexer();

            Assert.AreEqual("1-cheka",calculator[1,"cheka"]);
        }
예제 #4
0
        public void TestMixedIndexer()
        {
            MultiDimIndexer calculator = new MultiDimIndexer();

            Assert.AreEqual("1-cheka", calculator[1, "cheka"]);
        }