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
450
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
42
ESA Heliophysics Science Archives: Interoperability through IVOA standards
joncook
0
44
TDD
joncook
2
360
Other Decks in Programming
See All in Programming
Patterns of Patterns
denyspoltorak
0
1.3k
CSC307 Lecture 06
javiergs
PRO
0
680
ゆくKotlin くるRust
exoego
1
220
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
360
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
170
Python札幌 LT資料
t3tra
7
1.1k
Implementation Patterns
denyspoltorak
0
270
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
390
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
710
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
380
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
800
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
61
49k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
Deep Space Network (abreviated)
tonyrice
0
38
Practical Orchestrator
shlominoach
191
11k
Un-Boring Meetings
codingconduct
0
200
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Accessibility Awareness
sabderemane
0
45
AI: The stuff that nobody shows you
jnunemaker
PRO
2
230
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
55
49k
Skip the Path - Find Your Career Trail
mkilby
0
51
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/