1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/bigdecimal] Include TestBigDecimalBase in TestBigDecimalUtil

https://github.com/ruby/bigdecimal/commit/f732201df1
This commit is contained in:
Kenta Murata 2021-01-06 14:41:13 +09:00
parent 939729dd82
commit 698d7947c3
5 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
# frozen_string_literal: false
require_relative "testbase"
require_relative "helper"
require 'bigdecimal/math'
require 'rbconfig/sizeof'

View file

@ -1,9 +1,10 @@
# frozen_string_literal: false
require_relative "testbase"
require_relative "helper"
require 'bigdecimal/util'
class TestBigDecimalUtil < Test::Unit::TestCase
include TestBigDecimalBase
def test_BigDecimal_to_d
x = BigDecimal(1)
assert_same(x, x.to_d)

View file

@ -1,5 +1,5 @@
# frozen_string_literal: false
require_relative "testbase"
require_relative "helper"
require "bigdecimal/math"
class TestBigMath < Test::Unit::TestCase

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true
require_relative "testbase"
require_relative "helper"
class TestBigDecimalRactor < Test::Unit::TestCase
include TestBigDecimalBase