Пример #1
0
        public void TestInt2D()
        {
            var d = api.GetInt2D();

            Assert.Equal(1, d.GetUpperBound(0));
            Assert.Equal(3, d.GetUpperBound(1));
            Assert.Equal(1, d[0, 0]);
            Assert.Equal(4, d[0, 3]);
            Assert.Equal(8, d[1, 3]);
        }