示例#1
0
    public void hasCellAbsValue()
    {
        RectShape shape = new RectShape(new Cell(2, 2), new OIGrid(5, 5));

        shape.setCellValue(1, 1, XTile.FLOOR);

        Assert.IsFalse(shape.hasCellAbsValue(new Cell(1, 1), XTile.FLOOR));
        Assert.IsTrue(shape.hasCellAbsValue(new Cell(3, 3), XTile.FLOOR));
    }