Skip to content
mutastic

Swift edition

Arguments

Operators that change what a call is given.

OperatorChangesSet
mutastic/boolean-constanta true or false passed to a call, turned overstronger

The mutants each makes, on samples/operators/Sources/Operators/Arguments.swift:

Terminal window
mutastic mutants samples/operators --at=Sources/Operators/Arguments.swift:1-99 --operators=mutastic/boolean-constant
Terminal window
m68445228 Sources/Operators/Arguments.swift:8:33 mutastic/boolean-constant true becomes false in customerReceipt
no estimate: no run is recorded here yet; run once to get estimates, or add --estimate
1 mutant

mutastic/boolean-constant, in stronger. A true passed to a call becomes false, and false becomes true. It asks whether a test notices what the flag changes.