Skip to content
Snippets Groups Projects
Commit 9ee2e414 authored by Jean-Pascal AUBRY's avatar Jean-Pascal AUBRY
Browse files

fix: add rugofond to fuzzing.spec.ts to validate fuzzing test

Refs #340
parent b3e30580
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,8 @@ const nubsNotTested: CalculatorType[] = [ ...@@ -48,7 +48,8 @@ const nubsNotTested: CalculatorType[] = [
CalculatorType.PbCloison, CalculatorType.PbCloison,
CalculatorType.PreBarrage, // TODO: Add special treatments for creating fuzzy PreBarrage CalculatorType.PreBarrage, // TODO: Add special treatments for creating fuzzy PreBarrage
CalculatorType.LechaptCalmon, CalculatorType.LechaptCalmon,
CalculatorType.PressureLossLaw CalculatorType.PressureLossLaw,
CalculatorType.RugoFond
]; ];
const nubsWithStructures: CalculatorType[] = [ const nubsWithStructures: CalculatorType[] = [
......
...@@ -23,7 +23,7 @@ describe("Class RugoFond − ", () => { ...@@ -23,7 +23,7 @@ describe("Class RugoFond − ", () => {
); );
}); });
fit("calc Q", () => { it("calc Q", () => {
nub.prms.Q.setCalculated(); nub.prms.Q.setCalculated();
const res = nub.Calc("Q"); const res = nub.Calc("Q");
expect(res.vCalc).toBeCloseTo(0.76, 2); expect(res.vCalc).toBeCloseTo(0.76, 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment