Sha256: cba3b92d00d8cb34ef6b66f57c5c82303c7cd5a20a1b1a846ea5d51faecb64a1
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
require 'test_helper' describe "Extension with globally available functions" do specify "should make functions available" do Extension.new "functions" do |e| e.sources full_dir("headers/functions.h") e.namespace "functions" end require 'functions' test1 test2(2.0).should be_within(0.001).of(1.0) test3(2, 4.2).should == 2 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbplusplus-1.4.0 | test/functions_test.rb |