Sha256: 775a40a69c90cf9b52475e4a61509fb7ffa30557e1d3aa3ef081886dec839b15
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
# frozen_string_literal: true module Mutant module Meta class Example include Adamantium, Anima.new(:file, :node, :node_type, :expected) # Verification instance for example # # @return [Verification] def verification Verification.new(self, generated) end # Normalized source # # @return [String] def source Unparser.unparse(node) end memoize :source # Generated mutations on example source # # @return [Enumerable<Mutant::Mutation>] def generated Mutator.mutate(node).map do |node| Mutation::Evil.new(self, node) end end memoize :generated end # Example end # Meta end # Mutant
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.8.20 | lib/mutant/meta/example.rb |
mutant-0.8.19 | lib/mutant/meta/example.rb |
mutant-0.8.18 | lib/mutant/meta/example.rb |
mutant-0.8.17 | lib/mutant/meta/example.rb |