deprecating ruby package
to be replaced by vool and mom
This commit is contained in:
24
stash/test_rubyx/fragments/test_calls.rb
Normal file
24
stash/test_rubyx/fragments/test_calls.rb
Normal file
@ -0,0 +1,24 @@
|
||||
require_relative 'helper'
|
||||
|
||||
module Rubyx
|
||||
class TestRubyCalls < MiniTest::Test
|
||||
include RubyxTests
|
||||
|
||||
def pest_ruby_calls
|
||||
@string_input = <<HERE
|
||||
|
||||
def fibo_r( n )
|
||||
if( n < 2 )
|
||||
return n
|
||||
else
|
||||
return fibo_r(n - 1) + fibo_r(n - 2)
|
||||
end
|
||||
end
|
||||
|
||||
fibo 40
|
||||
HERE
|
||||
@stdout = "Hello there"
|
||||
check
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user