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) assert_in_delta(29, gear.wheel.diameter, 0.01) end end Redundant: Duplicates Wheel’s tests Saturday, May 25, 2013