forked from Vaguery/Answer-Factory
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
require File.join(File.dirname(__FILE__), '..', 'answer_factory') | ||
require 'spec' | ||
|
||
class FakeBlueprint < NudgeBlueprint | ||
def language | ||
:Fake | ||
end | ||
|
||
def blending_crossover (other) | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def delete_n_points_at_random (n) | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def mutate_n_points_at_random (n) | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def mutate_n_values_at_random (n) | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def point_crossover (other) | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def unwrap_block | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
|
||
def wrap_block | ||
FakeBlueprint.new("-- fake -- ") | ||
end | ||
end |