Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyuki-sato committed Oct 31, 2024
1 parent 0b56cf2 commit e9e9ce0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions c_glib/test/test-decimal64.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
# under the License.

class TestDecimal64 < Test::Unit::TestCase
include Helper::Omittable

def test_new_string_invalid
message =
"[decimal64][new][string]: Invalid: " +
Expand Down Expand Up @@ -92,7 +90,6 @@ def test_multiply
end

def test_divide
require_gi_bindings(3, 3, 0)
integer_data1 = 23423445
integer_data2 = -5443
decimal1 = Arrow::Decimal64.new(integer_data1)
Expand All @@ -106,7 +103,6 @@ def test_divide
end

def test_divide_zero
require_gi_bindings(3, 3, 0)
decimal1 = Arrow::Decimal64.new(23423445)
decimal2 = Arrow::Decimal64.new(0)
message =
Expand All @@ -131,7 +127,6 @@ def test_equal
end

def test_not_equal
require_gi_bindings(3, 3, 1)
decimal = Arrow::Decimal64.new(10)
other_decimal1 = Arrow::Decimal64.new(10)
other_decimal2 = Arrow::Decimal64.new(11)
Expand All @@ -146,7 +141,6 @@ def test_not_equal
end

def test_less_than
require_gi_bindings(3, 3, 1)
decimal = Arrow::Decimal64.new(10)
other_decimal1 = Arrow::Decimal64.new(11)
other_decimal2 = Arrow::Decimal64.new(9)
Expand All @@ -163,7 +157,6 @@ def test_less_than
end

def test_less_than_or_equal
require_gi_bindings(3, 3, 1)
decimal = Arrow::Decimal64.new(10)
other_decimal1 = Arrow::Decimal64.new(11)
other_decimal2 = Arrow::Decimal64.new(9)
Expand All @@ -180,7 +173,6 @@ def test_less_than_or_equal
end

def test_greater_than
require_gi_bindings(3, 3, 1)
decimal = Arrow::Decimal64.new(10)
other_decimal1 = Arrow::Decimal64.new(11)
other_decimal2 = Arrow::Decimal64.new(9)
Expand All @@ -197,7 +189,6 @@ def test_greater_than
end

def test_greater_than_or_equal
require_gi_bindings(3, 3, 1)
decimal = Arrow::Decimal64.new(10)
other_decimal1 = Arrow::Decimal64.new(11)
other_decimal2 = Arrow::Decimal64.new(9)
Expand Down

0 comments on commit e9e9ce0

Please sign in to comment.