if RUBY_ENGINE == "ruby" begin require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter ] SimpleCov.start do add_filter "/test/" end rescue LoadError warn "unable to load Coveralls!" end end require 'minitest/autorun' require_relative '../lib/yahtzee'