public void PlannerClass_GetMaxForDepth_AllValuesAndEdgeCases() { new TimeCell(10, 219, 'Z', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(0)); new TimeCell(10, 219, 'Z', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(1)); new TimeCell(10, 219, 'Z', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(9)); new TimeCell(10, 219, 'Z', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(10)); new TimeCell(12, 147, 'Z', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(12)); new TimeCell(14, 98, 'Y', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(14)); new TimeCell(16, 72, 'X', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(16)); new TimeCell(18, 56, 'W', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(18)); new TimeCell(20, 45, 'U', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(20)); new TimeCell(22, 37, 'S', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(22)); new TimeCell(25, 29, 'Q', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(25)); new TimeCell(30, 20, 'N', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(30)); new TimeCell(35, 14, 'K', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(35)); new TimeCell(40, 9, 'G', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(40)); new TimeCell(42, 8, 'F', safetyStopRequired: true, noDecompressionLimit: true).AssertHasSamePropertyValues(_classUnderTest.GetMaxForDepth(42)); Assert.IsNull(_classUnderTest.GetMaxForDepth(43), "Should be null for 43m"); }