Sha256: 1cc2886619d2b15426bb58a5971e8203b73c035705bcb476d86310aa4c22cae7

Contents?: true

Size: 241 Bytes

Versions: 8

Compression:

Stored size: 241 Bytes

Contents

class NumericExtensionsTest < Test::Unit::TestCase
  def test_power_macro
    cls, = compile(<<-EOF)
      def run(n1:int, n2:int)
        puts n1 ** n2
      end
    EOF

    assert_output("16.0\n") do
      cls.run(4, 2)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mirah-0.2.1-java test/jvm/extensions/numeric_extensions_test.rb
mirah-0.2.0-java test/jvm/extensions/numeric_extensions_test.rb
mirah-0.1.4-java test/jvm/numeric_extensions_test.rb
mirah-0.1.3-java test/jvm/numeric_extensions_test.rb
mirah-0.1.2-java test/jvm/numeric_extensions_test.rb
mirah-0.1.1-java test/jvm/numeric_extensions_test.rb
mirah-0.1.0-java test/jvm/numeric_extensions_test.rb
mirah-0.1.0.pre-java test/jvm/numeric_extensions_test.rb