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
乱数をテストするときの心構え
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yamacraft
September 30, 2016
Technology
840
1
Share
乱数をテストするときの心構え
2016年9月30日(金)に開催されたAndroid Testing Bootcamp #4にて発表した資料です。
yamacraft
September 30, 2016
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
220
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.2k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.4k
Quickstart-android/mlkitについて
yamacraft
2
4.9k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.1k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
730
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
980
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
Other Decks in Technology
See All in Technology
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
650
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
160
GitHub Copilot CLI と VS Code Agent Mode の使い分け
tomokusaba
0
110
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
280
VespaのParent Childを用いたフィードパフォーマンスの改善
taking
0
150
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
1
1.3k
Class.new is all you need
riseshia
1
210
Google Cloud Next '26 の裏でこっそりリリースされたCloud Number Registry & Cloud Hub コスト分析 を試してみた
hikaru1001
0
120
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.4k
Choose your own adventure in agentic design patterns
glaforge
0
160
Keeping Ruby Running on Cygwin
fd0
0
190
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
1.8k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
How to Ace a Technical Interview
jacobian
281
24k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Odyssey Design
rkendrick25
PRO
2
580
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
4 Signs Your Business is Dying
shpigford
187
22k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Paper Plane
katiecoart
PRO
1
49k
Scaling GitHub
holman
464
140k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
520
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Transcript
ཚΛςετ͢Δͱ͖ ͷ৺ߏ͑ @yamacraft
profile • @yamacraft (Wataru Yamada) • LeadingMark, inc / team
Y.G.E. • Mobile Application Engineer
ζϯυίΩϤγ ήʔϜ • ྫͷΞϨΛήʔϜԽͨ͠Ξ ϓϦ • Google Play Game ServiceରԠʂ
• https://play.google.com/ store/apps/details? id=jp.yamaglo.yge.zundo kogame
ʮζϯorυίʯ෦ͷ ςετΛೖΕ͍ͨʂ
ʮζϯorυίʯͷ༷ • ϘλϯλοϓͷλΠϛϯάͰZunDokoΫϥεΛੜ͢Δ • ZunDoko.idͰʮζϯʯͱʮυίʯΛผͯ͠σΟεϓϨΠʹग़ྗ • idੜ࣌ʹϥϯμϜͰ0͔1͕ೖ͞ΕΔ • 0͔1͔50:50 •
ʮ100ճZunDokoΫϥεΛੜͨ͠ͱ͖ʹid=0͕50ɺid=1͕ 50ʹͳΔ͔ʯ ← ͍ɺͪΐͬͱ……
ཚΛςετͰ͖Δͷʁ
͑3લʹ௨ա͍ͯͨ͠ • ϥϯμϜʹৼΔ͏ػೳΛ JUnit ͢Δ #ौ୩Java ୈ̏ճ • https://speakerdeck.com/komiya_atsushi/ randamunizhen-ruwu-uji-neng-wo-junit-suru-number-
shibui-gu-java-di-3hui • ԾઆݕఆʗΧΠೋݕఆ • BaseMatcherͷ֦ுΫϥε • https://gist.github.com/komiya-atsushi/6736271
ͱ͍͏Θ͚Ͱಋೖ • https://gist.github.com/komiya-atsushi/6736271 ͦͷ··AndroidͷJUnit4Ͱར༻Մೳ • Apache Commons MathΛ͍ͬͯΔͷͰ testCompileͰՃ͓ͯ͘͠
ͬͯΈΔ • id=0ͱid=1ͷ͕50:50Ͱ༗ҙਫ४Λ5ˋʹઃఆͯ͠ ςετΛ࣮ࢪ
ҙ • ཚੜͷΞϧΰϦζϜ࣍ୈͰςετ௨աͨ͠Γ͠ͳ͔ͬ ͨΓ͢Δ • ࢼߦճͱ༗ҙਫ४ͷௐʹҙ • ଟ͗ͯ͢ςετʹ͕͔͔࣌ؒΔՄೳੑ • ༗ҙਫ४͕ΏΔ͗ͯ͢ʹؾ͔ͮͳ͍Մೳੑ
• ʮཚͷᘳͳςετͰ͖ͳ͍ʯͱ͍͏͍ҙࣝΛͬ ͯऔΓ͏
͓͠·͍ • https://gist.github.com/komiya-atsushi/6736271 • ϥϯμϜʹৼΔ͏ػೳΛ JUnit ͢Δ • https://speakerdeck.com/komiya_atsushi/ randamunizhen-ruwu-uji-neng-wo-junit-suru-number-
shibui-gu-java-di-3hui • org.hamcrest.BaseMatcherΛ֦ுͯ͠assertThat()Ͱ͏ • http://d.hatena.ne.jp/ihiroky/20090916/1253076366