Sha256: 91b62a05f129955232d163470b418a79bfd09dbf2f3364cab26811d4742e29ca
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
require File.dirname(__FILE__) + '/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 | test/class_methods_test.rb |