Example #1
0
        public void Get()
        {
            const int width = 43;
              const int height = 29;

              var b = new BoolMatrix(width, height);
              b[13, 11] = true;
              Assert.IsTrue(b.Get(new IntCoordinate(11, 13)));
        }
Example #2
0
        public void Get()
        {
            const int width  = 43;
            const int height = 29;

            var b = new BoolMatrix(width, height);

            b[13, 11] = true;
            Assert.IsTrue(b.Get(new IntCoordinate(11, 13)));
        }
Example #3
0
        public void Set()
        {
            const int width  = 43;
            const int height = 29;

            var b = new BoolMatrix(width, height);
            var c = new IntCoordinate(11, 13);

            b.Set(c, true);
            Assert.IsTrue(b.Get(c));
        }
Example #4
0
        public void Set()
        {
            const int width = 43;
              const int height = 29;

              var b = new BoolMatrix(width, height);
              var c = new IntCoordinate(11, 13);
              b.Set(c, true);
              Assert.IsTrue(b.Get(c));
        }