Beispiel #1
0
        public void DriftingAtProjectionsObstructionsTest_CalculateDriftLength_Success()
        {
            var building = BuildingImplementation.CreateBuilding();

            var driftingAtProjectionsObstructions = new DriftingAtProjectionsObstructions(building, 4);

            driftingAtProjectionsObstructions.CalculateDriftLength();
            Assert.AreEqual(8, Math.Round(driftingAtProjectionsObstructions.DriftLength, 3),
                            "Drift length for roof is not calculated properly.");
        }