Sha256: ae32bcd6c9458ce9f75f3f7d4816bb3969672e19bb48f1e36efeaf59dd5987de
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require 'test_helper' context "Correct handling of static methods" do def setup if !defined?(@@complex_static) super @@complex_static = true Extension.new "complex_test" do |e| e.sources full_dir("headers/complex_static_methods.h") node = e.namespace "complex" end require 'complex_test' end end specify "should handle complex static methods" do Multiply.multiply(SmallInteger.new(2),SmallInteger.new(2)).should == 4 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbplusplus-0.9.1 | test/class_methods_test.rb |