Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Fibonacci Sequence Kata - TDD
Search
Jonathan Cook
August 12, 2013
Programming
0
440
Fibonacci Sequence Kata - TDD
Pure TDD example Kata
Jonathan Cook
August 12, 2013
Tweet
Share
More Decks by Jonathan Cook
See All by Jonathan Cook
Out with the Monolith - a new data ingestion system in the Heliophysics Archives
joncook
0
38
ESA Heliophysics Science Archives: Interoperability through IVOA standards
joncook
0
40
TDD
joncook
2
350
Other Decks in Programming
See All in Programming
#QiitaBash MCPのセキュリティ
ryosukedtomita
1
1.5k
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
210
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.1k
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
270
RailsGirls IZUMO スポンサーLT
16bitidol
0
190
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
460
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
170
チームで開発し事業を加速するための"良い"設計の考え方 @ サポーターズCoLab 2025-07-08
agatan
1
450
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
160
AI コーディングエージェントの時代へ:JetBrains が描く開発の未来
masaruhr
1
200
NPOでのDevinの活用
codeforeveryone
0
870
PipeCDのプラグイン化で目指すところ
warashi
1
290
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Unsuck your backbone
ammeep
671
58k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Adopting Sorbet at Scale
ufuk
77
9.5k
The Cult of Friendly URLs
andyhume
79
6.5k
KATA
mclloyd
30
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How STYLIGHT went responsive
nonsquared
100
5.6k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Bash Introduction
62gerente
613
210k
Facilitating Awesome Meetings
lara
54
6.5k
Transcript
Fibonacci Sequence Kata Jonathan Cook
What is the Fibonacci Sequence A sequence of numbers in
which each number equals the sum of the two preceding numbers. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...
La Idea hoy es que probeis la kata en parejas
Y Los ultimos veinte minutos voy a mostraros mi solucion en la tele!
Fibonacci Sequence Generator Write some code to return the Fibonacci
number for a given position. Only for positions between 0 and no greater than 46 Example - position 8 would return 21 Try and use the TDD techniques we talked about last time.
Un Poco mas Adapt your sequence generator: Give me the
sequence of fibonacci numbers for a given sequence number between 8 and 50. e.g) for 8 - 0,1,1,2,3,5,8,13
My solution • https://github.com/JonCook/katas/