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
850
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
乱数をテストするときの心構え
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.5k
Quickstart-android/mlkitについて
yamacraft
2
5.1k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.1k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.7k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
740
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
990
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
Other Decks in Technology
See All in Technology
人依存からAIネイティブの体制へ:バックエンド開発の裏側【SORACOM Discovery 2026】
soracom
PRO
0
130
PLaMoを毎日の開発で使い育てていく
pfn
PRO
0
110
AIエージェントの知識表現と推論に なぜグラフが使われるのか - 記号的AIの復権とニューラルAIとの統合
yohei1126
1
210
Retriever と Reranker、結局どうする?
kazuaki
1
480
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
4
1.1k
VPCセキュリティ対応の最新事情
nagisa53
1
350
CTOキーノート:AI時代の「つなぐ」を再定義 ― 真のIoTとリアルワールドAI【SORACOM Discovery 2026】
soracom
PRO
0
320
カメラ×AIで挑む「ホワイト物流」― 車両管理、自動化の壁と突破口【SORACOM Discovery 2026】
soracom
PRO
0
180
AI時代の強いチームの作り方
yuukiyo
8
5.3k
新しい SLO が良い感じにハマっている話
z63d
0
180
現場で使える AWS DevOps Agent 活用ノウハウ - Release Management 機能の検証結果を添えて / AWS DevOps Agent Release Management and Know-How
kinunori
5
770
AWS環境のセキュリティ不安を解消した企業事例 ~よくある課題と対策を一挙公開~
asanoharuki
0
250
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Building Adaptive Systems
keathley
44
3.1k
Claude Code のすすめ
schroneko
67
230k
The Pragmatic Product Professional
lauravandoore
37
7.4k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
How GitHub (no longer) Works
holman
316
150k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
230
Writing Fast Ruby
sferik
630
63k
Discover your Explorer Soul
emna__ayadi
2
1.2k
Chasing Engaging Ingredients in Design
codingconduct
0
240
From π to Pie charts
rasagy
0
240
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