test/test_tax.rb in zold-0.13.46 vs test/test_tax.rb in zold-0.14.0

- old
+ new

@@ -18,10 +18,11 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. require 'minitest/autorun' require 'time' +require_relative 'test__helper' require_relative 'fake_home' require_relative '../lib/zold/id' require_relative '../lib/zold/txn' require_relative '../lib/zold/wallet' require_relative '../lib/zold/tax' @@ -33,9 +34,13 @@ # Tax test. # Author:: Yegor Bugayenko (yegor256@gmail.com) # Copyright:: Copyright (c) 2018 Yegor Bugayenko # License:: MIT class TestTax < Minitest::Test + def test_print_fee + test_log.info("Fee in zents: #{Zold::Tax::FEE_TXN_HOUR.to_i}") + end + def test_calculates_tax_for_one_year FakeHome.new.run do |home| wallet = home.create_wallet wallet.add( Zold::Txn.new(