public void Test_SubGridTreeLeafBitmapSubGrid_ForEach_ForEach2() { var leaf = new SubGridTreeLeafBitmapSubGrid(); leaf.ForEach((x, y) => x == y); leaf.CountBits().Should().Be(SubGridTreeConsts.SubGridTreeDimension); }
public void Test_SubGridTreeLeafBitmapSubGrid_ForEach() { var leaf = new SubGridTreeLeafBitmapSubGrid(); uint count = 0; leaf.ForEach((x, y) => { count++; }); count.Should().Be(SubGridTreeConsts.CellsPerSubGrid); }