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
39
ESA Heliophysics Science Archives: Interoperability through IVOA standards
joncook
0
40
TDD
joncook
2
360
Other Decks in Programming
See All in Programming
チームのテスト力を鍛える
goyoki
3
930
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
110
複雑なフォームに立ち向かう Next.js の技術選定
macchiitaka
2
240
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
4.3k
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
2.1k
AWS発のAIエディタKiroを使ってみた
iriikeita
1
190
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
540
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
Navigating Dependency Injection with Metro
zacsweers
3
3.5k
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
はじめてのMaterial3 Expressive
ym223
2
900
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
250
Featured
See All Featured
The Language of Interfaces
destraynor
161
25k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
KATA
mclloyd
32
14k
Documentation Writing (for coders)
carmenintech
74
5k
Thoughts on Productivity
jonyablonski
70
4.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Code Review Best Practice
trishagee
71
19k
Faster Mobile Websites
deanohume
309
31k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
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/