Class: Mutant::Meta::Example::Verification Private
- Inherits:
-
Object
- Object
- Mutant::Meta::Example::Verification
- Includes:
- Unparser::Adamantium
- Defined in:
- lib/mutant/meta/example/verification.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Example verification
Instance Method Summary collapse
- #error_report ⇒ Object private
-
#success? ⇒ Boolean
private
Test if mutation was verified successfully.
Instance Method Details
#error_report ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 |
# File 'lib/mutant/meta/example/verification.rb', line 24 def error_report reports.join("\n") end |
#success? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if mutation was verified successfully
13 14 15 16 17 18 19 20 21 |
# File 'lib/mutant/meta/example/verification.rb', line 13 def success? [ original_verification, invalid, missing, no_diffs, unexpected ].all?(&:empty?) end |