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))); }
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)); }