Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
43
TDD
joncook
2
360
Other Decks in Programming
See All in Programming
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
290
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
420
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
260
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
Patterns of Patterns
denyspoltorak
0
320
Java 25, Nuevas características
czelabueno
0
110
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
320
マスタデータ問題、マイクロサービスでどう解くか
kts
0
120
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
280
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
190
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
100
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
69
ラッコキーワード サービス紹介資料
rakko
0
1.8M
Designing for Timeless Needs
cassininazir
0
93
sira's awesome portfolio website redesign presentation
elsirapls
0
89
Tell your own story through comics
letsgokoyo
0
760
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
110
Test your architecture with Archunit
thirion
1
2.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
57
37k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Docker and Python
trallard
47
3.7k
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/