Last active
March 2, 2019 02:19
-
-
Save havenwood/8628f94348f15433336f021d309da39b to your computer and use it in GitHub Desktop.
๐ฉ๐ธ
This file contains 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' | |
describe 'mad_hatter' do | |
let :golden_ratio do | |
Math.sqrt(5).+(1).fdiv(2) | |
end | |
it 'is golden' do | |
assert_equal golden_ratio ** 2, golden_ratio + 1 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment