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
Muscle Assert
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
ayato
December 18, 2016
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Muscle Assert
ayato
December 18, 2016
Transcript
28 slides
ےςετΛ ٹ͏͜ͱ͕ग़དྷΔͷ͔ !@BZBUP@Q
$MPKVSJBO͕ ๊͍͑ͯΔ
DMPKVSFUFTUͷGBJMʹཱͨͳ͍
DMPKVSFUFTUͷGBJMʹཱͨͳ͍ マップ同士の比較テスト 述語によるテスト ネストした複雑な構造の比較テスト
DMPKVSFUFTUͷGBJMʹཱͨͳ͍
DMPKVSFUFTUͷGBJMʹཱͨͳ͍ ただ `not` を付けただけ!
ίϨδϟφΠײ GBJMͯ͠ΔΜ͔ͩΒظͷରͳͷͨΓલ $MPKVSFͷςετͰ୯७ͳσʔλߏಉ࢜ͷ ൺֱ͕ଟ͍ Γ͍ͨͷԿॲ͕Ͳ͏ҧ͏ͷ͔ ԿނɺͦΕͰྑ͍ͱࢥͬͨʜ
ࢁͷ$MPKVSJBO͕ ͜ͷʹΜͰ͖ͨ
IVNBOFUFTUPVUQVU
IVNBOFUFTUPVUQVU pprint?
MFJOEJGGUFTU
MFJOEJGGUFTU 文字列化してdiff?
FGUFTUXJUIQSFUUZSFQPSU
FGUFTUXJUIQSFUUZSFQPSU clojure.data/diff?
ଓɾίϨδϟφΠײ ͏ͪΐͬͱؤுͬͯཉ͍͠ʜ
ҰํɺςετϑϨʔϜ ϫʔΫք۾Ͱ
QPXFSBTTFSU͕ॏๅ͞Ε͍ͯͨ
ͦ͜ʹҰੴ͕͡ΒΕΔ http://bleis-tift.hatenablog.com/entry/about-power-assert
.VTDMF"TTFSUͷొ http://pocketberserker.hatenablog.com/entry/2016/06/02/143727
.VTDMF"TTFSU Ϣχοτςετ༻ͷΞαʔγϣϯ Կॲ͕Ͳ͏ҧ͏͔Λڧௐͯ͠ग़ྗ͢Δ ྗٕͰෆཁͳใΛѲΓ௵͢ʂ
࣌.VTDMF"TTFSU
࣌.VTDMF"TTFSU 筋肉はすべてを救う!?
ͱ͍͏Θ͚Ͱ ࡞Γ·ͨ͠
%&.0
·ͱΊ
·ͱΊ $MPKVSFͷςετք۾Α͔͘Βͳ͍ͷ͕ଟ͍ $MPKVSFͰ୯७ͳϚοϓͳͲͷൺֱ͕ଟ͍ͷͰ .VTDMF"TTFSUతͳΞϓϩʔν༗ޮ ࣮࡞ͬͯΔ్தͰࣅͨΑ͏ͳͷΛݟ͚ͭͯ ͠·͕ͬͨແࢹͨ͠ʜ
GMBSF
GMBSF 似てる…
More Decks by ayato
See All by ayato
マイクロサービス内で動くAPIをF#で書いている
ayato0211
1
1.8k
Clojureという言語が私逹にもたらしたもの
ayato0211
6
3.2k
3年間考え続けてきたWebアプリケーションにおけるテストの話
ayato0211
3
330
Re:REPL-Driven Development
ayato0211
3
1.4k
Meta Template Engine
ayato0211
2
1.2k
超変換! Hiccup data structure!!
ayato0211
2
700
About Integrant
ayato0211
0
620
Clojureを用いたWebアプリケーション開発
ayato0211
2
3.3k
翻訳にまつわるエトセトラ
ayato0211
6
1.3k
Other Decks in Programming
See All in Programming
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
120
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
360
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
340
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
930
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
あなたはMCPの機能を、まだ知らない。
4geru
1
660
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
210
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
250
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
140
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
The Limits of Empathy - UXLibs8
cassininazir
2
790
Into the Great Unknown - MozCon
thekraken
41
2.8k
Docker and Python
trallard
47
4.3k
Documentation Writing (for coders)
carmenintech
77
5.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
620
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
Everyday Curiosity
cassininazir
0
400
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
GraphQLとの向き合い方2022年版
quramy
50
15k