From 150ef0a819782ea7be82e7798e592ca13dd7dcb7 Mon Sep 17 00:00:00 2001 From: Durieux Pol Date: Fri, 2 Feb 2024 12:16:58 +0100 Subject: [PATCH] fixed tests --- .../MTMutantOperatorAnalysisTest.class.st | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/MuTalk-Utilities-Tests/MTMutantOperatorAnalysisTest.class.st b/src/MuTalk-Utilities-Tests/MTMutantOperatorAnalysisTest.class.st index 6797981..97ed106 100644 --- a/src/MuTalk-Utilities-Tests/MTMutantOperatorAnalysisTest.class.st +++ b/src/MuTalk-Utilities-Tests/MTMutantOperatorAnalysisTest.class.st @@ -21,8 +21,7 @@ MTMutantOperatorAnalysisTest >> setUp [ MTMutantOperatorAnalysisTest >> testGetAllOperators [ | actual expected | - actual := (operatorAnalysis operatorsProducingAtLeast: 0) keys - asSet. + actual := operatorAnalysis operatorsProducingAtLeast: 0. expected := (MTMutantOperator contentsAll collect: #species) asSet. self assert: actual equals: expected @@ -32,8 +31,7 @@ MTMutantOperatorAnalysisTest >> testGetAllOperators [ MTMutantOperatorAnalysisTest >> testOperatorsProducingOver [ | actual expected | - actual := (operatorAnalysis operatorsProducingAtLeast: 3) keys - asSet. + actual := operatorAnalysis operatorsProducingAtLeast: 3. expected := Set with: MTLiteralIntegersIncreaseOperator with: MTLiteralIntegersToZeroOperator @@ -46,8 +44,7 @@ MTMutantOperatorAnalysisTest >> testOperatorsProducingOver [ MTMutantOperatorAnalysisTest >> testOperatorsProducingUnder [ | actual expected | - actual := (operatorAnalysis operatorsProducingAtMost: 2) keys - asSet. + actual := operatorAnalysis operatorsProducingAtMost: 2. expected := (MTMutantOperator contentsAll collect: #species) asSet reject: [ :operator | {