From 9b20a74d2af713df30953a666553072d5793cd7e Mon Sep 17 00:00:00 2001 From: Durieux Pol Date: Thu, 14 Dec 2023 16:49:29 +0100 Subject: [PATCH] rename --- ...tingPercentageOfMutantsBudgetTest.class.st | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/MuTalk-Tests/MutationTestingPercentageOfMutantsBudgetTest.class.st b/src/MuTalk-Tests/MutationTestingPercentageOfMutantsBudgetTest.class.st index dc7e6473..6395a740 100644 --- a/src/MuTalk-Tests/MutationTestingPercentageOfMutantsBudgetTest.class.st +++ b/src/MuTalk-Tests/MutationTestingPercentageOfMutantsBudgetTest.class.st @@ -51,6 +51,16 @@ MutationTestingPercentageOfMutantsBudgetTest >> testEvaluateZeroPercentOfMutants equals: 0 ] +{ #category : 'tests' } +MutationTestingPercentageOfMutantsBudgetTest >> testExactPercentageOfMutants [ + + self runAnalysisFor: 20. + self + assert: + analysis generalResult numberOfEvaluatedMutants / numberOfMutations * 100 + equals: 20 +] + { #category : 'tests' } MutationTestingPercentageOfMutantsBudgetTest >> testNonExactPercentageOfMutants [ @@ -61,13 +71,3 @@ MutationTestingPercentageOfMutantsBudgetTest >> testNonExactPercentageOfMutants assert: analysis generalResult numberOfEvaluatedMutants equals: 6 ] - -{ #category : 'tests' } -MutationTestingPercentageOfMutantsBudgetTest >> testRoundPercentageOfMutants [ - - self runAnalysisFor: 20. - self - assert: - analysis generalResult numberOfEvaluatedMutants / numberOfMutations * 100 - equals: 20 -]