Ejemplo n.º 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)));
        }
Ejemplo n.º 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)));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }