test/test_bcd.rb in bcd-0.3 vs test/test_bcd.rb in bcd-1.0.1
- old
+ new
@@ -1,8 +1,11 @@
-require 'test/unit'
+# frozen_string_literal: true
+
+require 'minitest/autorun'
+require 'minitest/pride'
require 'bcd'
-class TestBCD < Test::Unit::TestCase
+class TestBCD < Minitest::Test
def test_encode
assert_equal 4, BCD.encode(4)
assert_equal 22, BCD.encode(34)
end