Ejemplo n.º 1
0
        public void PlannerClass_GetTableDepth_AllValuesAndEdgeCases()
        {
            Assert.AreEqual(10, _classUnderTest.GetTableDepth(0), "Unexpected value for 0m");
            Assert.AreEqual(10, _classUnderTest.GetTableDepth(1), "Unexpected value for 1m");
            Assert.AreEqual(10, _classUnderTest.GetTableDepth(10), "Unexpected value for 10m");
            Assert.AreEqual(12, _classUnderTest.GetTableDepth(11), "Unexpected value for 11m");
            Assert.AreEqual(42, _classUnderTest.GetTableDepth(42), "Unexpected value for 42m");

            Assert.IsNull(_classUnderTest.GetTableDepth(43), "Should be null for 43m");
        }