This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "minitest/autorun" | |
INPUT = DATA.read | |
class LocationDataTest < Minitest::Test | |
def test_total_distance | |
location_list = LocationData.new(INPUT) | |
assert_equal 11, location_list.total_distance | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'sass' | |
require 'slim' | |
get('/css/styles.css'){ scss :styles } | |
get '/' do | |
slim :index | |
end |