a89301d623
basic still #23 , now applied Basic size of 20, interpreter gets 50 and the full set is 1024 Tests run more than twice as fast!!
37 lines
580 B
Ruby
37 lines
580 B
Ruby
module Parfait
|
|
def self.default_test_options
|
|
{
|
|
factory: 20,
|
|
}
|
|
end
|
|
def self.interpreter_test_options
|
|
{
|
|
factory: 50,
|
|
}
|
|
end
|
|
def self.full_test_options
|
|
{
|
|
factory: 1024,
|
|
}
|
|
end
|
|
end
|
|
|
|
module RubyX
|
|
def self.default_test_options
|
|
{
|
|
parfait: Parfait.default_test_options
|
|
}
|
|
end
|
|
def self.full_test_options
|
|
{
|
|
parfait: Parfait.full_test_options
|
|
}
|
|
end
|
|
def self.interpreter_test_options
|
|
{
|
|
parfait: Parfait.interpreter_test_options,
|
|
platform: :interpreter
|
|
}
|
|
end
|
|
end
|