public void Test4() { var grid = new BinaryGrid <string>(); grid.Set(new IntVector(10, 10, 0), "a"); Assert.AreEqual("a", grid.Get(new IntVector(10, 10, 0))); }
public void Test7() { var grid = new BinaryGrid <string>(); var result = grid.Set(new IntVector(-10, -10, 0), "a"); Assert.AreEqual(new IntVector(-12, -12, 0), result.OffsetShift); Assert.AreEqual("a", grid.Get(new IntVector(-10, -10, 0))); }