Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Durieux Pol committed Feb 2, 2024
1 parent bbbec1b commit 150ef0a
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 |
{
Expand Down

0 comments on commit 150ef0a

Please sign in to comment.