From 9ee2e4145cd97a9c66018db8490f9409fc8d221d Mon Sep 17 00:00:00 2001 From: Jean-Pascal AUBRY <francois.grand@inrae.fr> Date: Mon, 29 Jan 2024 09:34:35 +0000 Subject: [PATCH] fix: add rugofond to fuzzing.spec.ts to validate fuzzing test Refs #340 --- spec/fuzzing.spec.ts | 3 ++- spec/rugofond/rugofond.spec.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/fuzzing.spec.ts b/spec/fuzzing.spec.ts index 6642d0c0..9474d222 100644 --- a/spec/fuzzing.spec.ts +++ b/spec/fuzzing.spec.ts @@ -48,7 +48,8 @@ const nubsNotTested: CalculatorType[] = [ CalculatorType.PbCloison, CalculatorType.PreBarrage, // TODO: Add special treatments for creating fuzzy PreBarrage CalculatorType.LechaptCalmon, - CalculatorType.PressureLossLaw + CalculatorType.PressureLossLaw, + CalculatorType.RugoFond ]; const nubsWithStructures: CalculatorType[] = [ diff --git a/spec/rugofond/rugofond.spec.ts b/spec/rugofond/rugofond.spec.ts index d062faad..2eeeffb1 100644 --- a/spec/rugofond/rugofond.spec.ts +++ b/spec/rugofond/rugofond.spec.ts @@ -23,7 +23,7 @@ describe("Class RugoFond − ", () => { ); }); - fit("calc Q", () => { + it("calc Q", () => { nub.prms.Q.setCalculated(); const res = nub.Calc("Q"); expect(res.vCalc).toBeCloseTo(0.76, 2); -- GitLab