2018-04-19 18:47:35 +02:00
|
|
|
require_relative "../helper"
|
|
|
|
|
2019-08-12 11:36:32 +02:00
|
|
|
module Mom
|
2018-04-19 18:47:35 +02:00
|
|
|
module Builtin
|
2019-08-11 13:31:00 +02:00
|
|
|
class BootTest < MiniTest::Test
|
|
|
|
def setup
|
|
|
|
Parfait.boot!(Parfait.default_test_options)
|
|
|
|
@functions = Builtin.boot_functions
|
|
|
|
end
|
|
|
|
def get_compiler( name )
|
2019-08-13 19:35:27 +02:00
|
|
|
@functions.each.find{|meth| meth.callable.name == name}
|
2019-08-11 13:31:00 +02:00
|
|
|
end
|
|
|
|
end
|
2018-04-19 18:47:35 +02:00
|
|
|
end
|
|
|
|
end
|