public void IsMapCellInsideNodeTest() { using (TCODBSP bspSized = new TCODBSP(0, 0, 10, 10)) { Assert.IsTrue(bspSized.IsMapCellInsideNode(0, 0)); Assert.IsFalse(bspSized.IsMapCellInsideNode(10, 10)); bspSized.SplitOnce(false, 6); Assert.IsTrue(bspSized.GetLeft().IsMapCellInsideNode(1, 1)); Assert.IsFalse(bspSized.GetRight().IsMapCellInsideNode(1, 1)); } }