Skip to content

Commit

Permalink
adapt tests to the higher number of mutants
Browse files Browse the repository at this point in the history
  • Loading branch information
Durieux Pol committed Apr 15, 2024
1 parent 4f2619e commit e14cffd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/MuTalk-Tests/MTFixedNumberOfMutantsBudgetTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ MTFixedNumberOfMutantsBudgetTest >> runAnalysisForFixedNumberOfMutants: aNumber
{ #category : 'tests' }
MTFixedNumberOfMutantsBudgetTest >> testEvaluateAllMutantsWithConstraintGreaterThanActualNumberOfMutations [

self runAnalysisForFixedNumberOfMutants: 50.
self runAnalysisForFixedNumberOfMutants: 100.
self
assert: analysis generalResult numberOfEvaluatedMutants
equals: 25
equals: 96
]

{ #category : 'tests' }
Expand Down
6 changes: 3 additions & 3 deletions src/MuTalk-Tests/MTPercentageOfMutantsBudgetTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ MTPercentageOfMutantsBudgetTest >> testEvaluateZeroPercentOfMutantsWithZeroPerce
{ #category : 'tests' }
MTPercentageOfMutantsBudgetTest >> testExactPercentageOfMutants [

self runAnalysisForPercentageOfMutants: 20.
self assert: self percentageOfEvaluatedMutants equals: 20
self runAnalysisForPercentageOfMutants: 25.
self assert: self percentageOfEvaluatedMutants equals: 25
]

{ #category : 'tests' }
Expand All @@ -56,5 +56,5 @@ MTPercentageOfMutantsBudgetTest >> testNonExactPercentageOfMutants [
self assert: self percentageOfEvaluatedMutants >= 21.
self
assert: analysis generalResult numberOfEvaluatedMutants
equals: 6
equals: 21
]

0 comments on commit e14cffd

Please sign in to comment.