Last active
December 18, 2015 04:39
-
-
Save sskirby/5726904 to your computer and use it in GitHub Desktop.
testing outbound query methods - original
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
class GearTest < MiniTest::Unit:TestCase | |
def test_calculates_gear_inches | |
gear = Gear.new( | |
chainring: 52, | |
cog: 11, | |
wheel: Wheel.new(26, 1.5)) | |
assert_in_delta(137.1, | |
gear.gear_inches, | |
0.01) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment