Index: Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingCalculationScenario.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingCalculationScenario.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingCalculationScenario.cs (revision c069d025d589b0d59947643ca92ff720e3374286) @@ -0,0 +1,46 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System; + +namespace Riskeer.Piping.Data.TestUtil +{ + /// + /// Piping calculation scenario that can be used for testing. + /// + public class TestPipingCalculationScenario : TestPipingCalculation + { + /// + /// Creates a new instance of with default . + /// + /// Whether or not the calculation should have output. + public TestPipingCalculationScenario(bool hasOutput = false) : this(new TestPipingInput(), hasOutput) {} + + /// + /// Creates a new instance of . + /// + /// The input parameters to perform the piping calculation with. + /// Whether or not the calculation should have output. + /// Thrown when + /// is null. + public TestPipingCalculationScenario(PipingInput pipingInput, bool hasOutput = false) : base(pipingInput, hasOutput) {} + } +} \ No newline at end of file