Y
Hacker News
new
|
ask
|
show
|
jobs
by
J_Shelby_J
106 days ago
I’ve been doing the least amount of unit tests possible and doing debug asserts instead.
1 comments
0x3f
106 days ago
Normally I would put as many invariants in the types as possible, then tests cover the rest. I'm curious how you do this/what you use it for though. Would be cool if you had any examples.
link