Guest User

Untitled

a guest
Oct 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. describe "fibonacci" do
  2. [
  3. [0, 0],
  4. [1, 1],
  5. [2, 1],
  6. [3, 2],
  7. [4, 3],
  8. [5, 5],
  9. [6, 8]
  10. ].each do |index, value|
  11. it "of #{index} should be #{value}" do
  12. fib(index).should == value
  13. end
  14. end
  15.  
  16. def fib
  17. # yay algorithm
  18. end
  19. end
Add Comment
Please, Sign In to add comment