Class: Mutant::Meta::Example::Verification Private
- Inherits:
-
Object
- Object
- Mutant::Meta::Example::Verification
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/meta/example.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 ⇒ String
private
Error report.
-
#success? ⇒ Boolean
private
Test if mutation was verified successfully.
Instance Method Details
#error_report ⇒ String
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.
Error report
45 46 47 48 49 50 |
# File 'lib/mutant/meta/example.rb', line 45 def error_report unless unparser.success? return unparser.report end mutation_report 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
38 39 40 |
# File 'lib/mutant/meta/example.rb', line 38 def success? unparser.success? && missing.empty? && unexpected.empty? && no_diffs.empty? end |