Skip to content

Commit

Permalink
Fix accordance characteristics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChainsManipulator committed Nov 30, 2024
1 parent 4b5bc84 commit b38abcb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Libiada.Core.Tests/Core/ChainsStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public static class ChainsStorage
// 12 A _ _ _ _ _ _ _ A _ _ A _ A _ A _ A _ A _ _ _ _ A _ _
new CongenericChain([0, 8, 11, 13, 15, 17, 19, 24], Elements["A"], 27),

// 13 _ A _ A A _ A _ _ A A _ _ _ _ A _ _ _ _ _ _ A _ _ _ A
// 13 _ A _ A A _ A _ _ A A _ _ _ _ _ _ _ _ _ _ _ A _ _ _ A
new CongenericChain([1, 3, 4, 6, 9, 10, 22, 26], Elements["A"], 27),

// 14 A _ _ A _ _ _ _ _ A _ A _ _ _ _ _
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class MutualComplianceDegreeTests : AccordanceCalculatorsTests<MutualComp
[TestCase(9, 8, 0.8755)]
[TestCase(10, 11, 0.2724)]
[TestCase(11, 10, 0.2724)]
[TestCase(12, 13, 0.3841)]
[TestCase(13, 12, 0.3841)]
[TestCase(12, 13, 0.381815932)]
[TestCase(13, 12, 0.381815932)]
[TestCase(14, 15, 0.8352)]
[TestCase(15, 14, 0.8352)]
[TestCase(16, 17, 0.835)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class PartialComplianceDegreeTests : AccordanceCalculatorsTests<PartialCo
[TestCase(5, 0.9991, 0)]
[TestCase(6, 0.5151, 0)]
[TestCase(12, 0.9710, 0.5)]
[TestCase(15, 0.3563, 0)]
[TestCase(15, 0.3563, 0.32)]
public void PartialComplianceDegreeTest(int index, double firstValue, double secondValue)
{
CalculationTest(index, firstValue, secondValue);
Expand All @@ -50,8 +50,8 @@ public void PartialComplianceDegreeTest(int index, double firstValue, double sec
[TestCase(9, 8, 0.7787)]
[TestCase(10, 11, 0.4131)]
[TestCase(11, 10, 0.1796)]
[TestCase(12, 13, 0.4401)]
[TestCase(13, 12, 0.3353)]
[TestCase(12, 13, 0.439373073)]
[TestCase(13, 12, 0.33179868)]
[TestCase(14, 15, 0.9428)]
[TestCase(15, 14, 0.7399)]
[TestCase(16, 17, 0.9428)]
Expand Down

0 comments on commit b38abcb

Please sign in to comment.