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

見てわかるテスト駆動開発

 見てわかるテスト駆動開発

2019年度リクルート新人ブートキャンプ エンジニアコースの講義資料です

Recruit Technologies

June 24, 2019
Tweet

More Decks by Recruit Technologies

Other Decks in Technology

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