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:
parent
939729dd82
commit
698d7947c3
5 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: false
|
||||
require_relative "testbase"
|
||||
require_relative "helper"
|
||||
require 'bigdecimal/math'
|
||||
require 'rbconfig/sizeof'
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: false
|
||||
require_relative "testbase"
|
||||
require_relative "helper"
|
||||
require "bigdecimal/math"
|
||||
|
||||
class TestBigMath < Test::Unit::TestCase
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
require_relative "testbase"
|
||||
require_relative "helper"
|
||||
|
||||
class TestBigDecimalRactor < Test::Unit::TestCase
|
||||
include TestBigDecimalBase
|
||||
|
|
Loading…
Reference in a new issue