public void SubGridCellSegmentPassesDataWrapper_NonStatic_PassHeight_Test() { using (var item = new SubGridCellSegmentPassesDataWrapper_NonStatic()) { CellPass pass = TestCellPass(); item.AddPass(1, 1, pass); Assert.True(item.PassHeight(1, 1, 0).Equals(pass.Height), "Cell pass height not same as value added"); } }