Upgrade to Pro — share decks privately, control downloads, hide ads and more …

見てわかるテスト駆動開発 / TDD Live and Workshop 2019 Spring

見てわかるテスト駆動開発 / TDD Live and Workshop 2019 Spring

Takuto Wada

April 11, 2019
Tweet

More Decks by Takuto Wada

Other Decks in Programming

Transcript

  1. Write a program that prints the numbers from 1 to

    100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. ͔Β·Ͱͷ਺ΛϓϦϯτ͢ΔϓϩάϥϜΛॻ͚ɻͨ ͩ͠ͷഒ਺ͷͱ͖͸਺ͷ୅ΘΓʹň'J[[ʼnͱɺͷഒ਺ͷ ͱ͖͸ň#V[[ʼnͱϓϦϯτ͠ɺͱ྆ํͷഒ਺ͷ৔߹ʹ͸ ň'J[[#V[[ʼnͱϓϦϯτ͢Δ͜ͱɻ http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm σϞ'J[[#V[[໰୊ % &. 0
  2. '"2