Skip to content

Commit

Permalink
Include TestBigDecimalBase in TestBigDecimalUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkn committed Jan 6, 2021
1 parent c8de503 commit f732201
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/bigdecimal/test_bigdecimal.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: false
require_relative "testbase"
require_relative "helper"
require 'bigdecimal/math'
require 'rbconfig/sizeof'

Expand Down
5 changes: 3 additions & 2 deletions test/bigdecimal/test_bigdecimal_util.rb
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_bigmath.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: false
require_relative "testbase"
require_relative "helper"
require "bigdecimal/math"

class TestBigMath < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_ractor.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
require_relative "testbase"
require_relative "helper"

class TestBigDecimalRactor < Test::Unit::TestCase
include TestBigDecimalBase
Expand Down

0 comments on commit f732201

Please sign in to comment.