# :stopdoc:

require 'simplecov'
SimpleCov.start

# require 'codeclimate-test-reporter'
# CodeClimate::TestReporter.start

require 'minitest/autorun'
require_relative '../lib/rhex'
# :stopdoc:

require 'simplecov'
SimpleCov.start

# require 'codeclimate-test-reporter'
# CodeClimate::TestReporter.start

require 'minitest/autorun'
require_relative '../lib/rhex'

# Ensure the image output directory exists
IMAGE_OUTPUT_DIRECTORY = 'tmp'
Dir.mkdir(IMAGE_OUTPUT_DIRECTORY) unless Dir.exist?(IMAGE_OUTPUT_DIRECTORY)

Create the tmp directory if it does not exist.
Create the tmp directory if it does not exist.

On a fresh git checkout the 'tmp' directory used for storing test output
images does not exist. This adds a line to the test_helper to create the
directory if necessary.
