public void CreateHeaveCalculator_Always_ReturnsHeaveCalculator() { // Setup IPipingSubCalculatorFactory factory = PipingSubCalculatorFactory.Instance; // Call IHeaveCalculator calculator = factory.CreateHeaveCalculator(); // Assert Assert.IsInstanceOf <HeaveCalculator>(calculator); }
private IHeaveCalculator CreateHeaveCalculator() { IHeaveCalculator calculator = factory.CreateHeaveCalculator(); calculator.SetIch(input.CriticalHeaveGradient); calculator.SetPhiExit(input.PiezometricHeadExit); calculator.SetDTotal(input.ThicknessCoverageLayer); calculator.SetPhiPolder(input.PhreaticLevelExit); calculator.SetRExit(input.DampingFactorExit); calculator.SetHExit(input.PhreaticLevelExit); return(calculator); }