Sha256: 7f62eb1deeea264e4d15bbdcc2b55ae070b8ed7b84ddbb76970000c62a57835e

Contents?: true

Size: 387 Bytes

Versions: 8

Compression:

Stored size: 387 Bytes

Contents

require 'test_helper'

describe "Correct handling of static methods" do

  specify "should handle complex static methods" do
    Extension.new "complex_test" do |e|
      e.sources full_dir("headers/complex_static_methods.h")
      node = e.namespace "complex"
    end

    require 'complex_test'

    Multiply.multiply(SmallInteger.new(2),SmallInteger.new(2)).should == 4
  end
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rbplusplus-1.4.0 test/class_methods_test.rb
rbplusplus-1.3.0 test/class_methods_test.rb
rbplusplus-1.2.1 test/class_methods_test.rb
rbplusplus-1.2.0 test/class_methods_test.rb
rbplusplus-1.1.0 test/class_methods_test.rb
rbplusplus-1.0.3 test/class_methods_test.rb
rbplusplus-1.0.1 test/class_methods_test.rb
rbplusplus-1.0 test/class_methods_test.rb