diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-17 09:59:48 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-18 07:44:13 +0900 |
commit | 2b0766113b35baf188bcb40e7da36a27423a2149 (patch) | |
tree | 0f67cfc62dd775af527568b038c9b9a6c2dabcb1 /test/bigdecimal/test_ractor.rb | |
parent | db9f5fc91620b799c8829d0ca69bf72564a16e14 (diff) |
Extract bigdecimal as bundled gems
Diffstat (limited to 'test/bigdecimal/test_ractor.rb')
-rw-r--r-- | test/bigdecimal/test_ractor.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/bigdecimal/test_ractor.rb b/test/bigdecimal/test_ractor.rb deleted file mode 100644 index 798cc494e1..0000000000 --- a/test/bigdecimal/test_ractor.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true -require_relative "helper" - -class TestBigDecimalRactor < Test::Unit::TestCase - include TestBigDecimalBase - - def setup - super - omit unless defined? Ractor - end - - def test_ractor_shareable - assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") - begin; - $VERBOSE = nil - require "bigdecimal" - r = Ractor.new BigDecimal(Math::PI, Float::DIG+1) do |pi| - BigDecimal('2.0')*pi - end - assert_equal(2*Math::PI, r.take) - end; - end -end |