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
yamacraft
September 30, 2016
Technology
1
800
乱数をテストするときの心構え
2016年9月30日(金)に開催されたAndroid Testing Bootcamp #4にて発表した資料です。
yamacraft
September 30, 2016
Tweet
Share
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
200
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
2.9k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.3k
Quickstart-android/mlkitについて
yamacraft
2
4.6k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
4.9k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
700
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
910
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
Other Decks in Technology
See All in Technology
OpenHands🤲にContributeしてみた
kotauchisunsun
1
460
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
2
580
変化する開発、進化する体系時代に適応するソフトウェアエンジニアの知識と考え方(JaSST'25 Kansai)
mizunori
1
230
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
1.1k
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
260
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
190
HiMoR: Monocular Deformable Gaussian Reconstruction with Hierarchical Motion Representation
spatial_ai_network
0
110
GitHub Copilot の概要
tomokusaba
1
130
Windows 11 で AWS Documentation MCP Server 接続実践/practical-aws-documentation-mcp-server-connection-on-windows-11
emiki
0
1k
Agentic Workflowという選択肢を考える
tkikuchi1002
1
530
Welcome to the LLM Club
koic
0
190
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
9
1.2k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7k
Speed Design
sergeychernyshev
32
1k
The Cult of Friendly URLs
andyhume
79
6.5k
Designing for Performance
lara
609
69k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
Building Adaptive Systems
keathley
43
2.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Typedesign – Prime Four
hannesfritz
42
2.7k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
It's Worth the Effort
3n
185
28k
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