Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
乱数をテストするときの心構え
Search
yamacraft
September 30, 2016
Technology
870
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
230
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.3k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.5k
Quickstart-android/mlkitについて
yamacraft
2
5.2k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.1k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.7k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
750
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
1k
社内用アプリでFirebaseを使っている話
yamacraft
2
2.1k
Other Decks in Technology
See All in Technology
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
220
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
240
Classmethod Company Deck
satoshi7
1
740
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
200
DBについての基礎説明(MySQL編) - コロプラ 2026年度 新卒研修
colopl
0
140
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
開発を高速化。AIコーディングエージェントとCodeRabbitでループエンジニアリング
moongift
PRO
0
100
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
Refining Active Record
shugo
0
170
野蛮なアジャイル [サイボウズ発!]組織の常識を覆した反骨のスクラム実践記 / Barbaric Agile - Enterprise Agile Study Group
ama_ch
0
110
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
880
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
529
40k
From π to Pie charts
rasagy
1
400
Unsuck your backbone
ammeep
672
58k
Technical Leadership for Architectural Decision Making
baasie
3
600
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Become a Pro
speakerdeck
PRO
31
6.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
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