Skip to content

Commit

Permalink
add more tolerance for ScalabilityTests
Browse files Browse the repository at this point in the history
  • Loading branch information
NeVeSpl committed Nov 21, 2023
1 parent 0717e1d commit 203797d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public async void FindTypesWithAllDependencies_TimeGrowsLinearly()
// (.....k1 )
// (.....k2 )
// k2-dk2 k2+dk2
Assert.True(Math.Abs(k1 - k2) <= dk1 + dk2 + 0.1,
Assert.True(Math.Abs(k1 - k2) <= (dk1 + dk2) * 1.1,
$"{k1}+-{dk1}; {k2}+-{dk2}\nSize; Ellapsed Ticks:\n{n0}; {ellapsed0.Mean}+-{ellapsed0.Margins}\n{n1}; {ellapsed1.Mean}+-{ellapsed1.Margins}\n{n2}; {ellapsed2.Mean}+-{ellapsed2.Margins}");
}

Expand Down Expand Up @@ -167,7 +167,7 @@ public async void FindTypesWithAnyDependencies_TimeGrowsLinearly()
// (.....k1 )
// (.....k2 )
// k2-dk2 k2+dk2
Assert.True(Math.Abs(k1 - k2) <= dk1 + dk2 + 0.1,
Assert.True(Math.Abs(k1 - k2) <= (dk1 + dk2) * 1.1,
$"{k1}+-{dk1}; {k2}+-{dk2}\nSize; Ellapsed Ticks:\n{n0}; {ellapsed0.Mean}+-{ellapsed0.Margins}\n{n1}; {ellapsed1.Mean}+-{ellapsed1.Margins}\n{n2}; {ellapsed2.Mean}+-{ellapsed2.Margins}");
}

Expand Down

0 comments on commit 203797d

Please sign in to comment.