dangmoody / Temper

Single header-only testing framework written in C99.
MIT License
6 stars 1 forks source link

All conditions that take messages should take printf style parameters #7

Closed Mike430 closed 3 years ago

Mike430 commented 3 years ago

The macro prints out the logic, if you want the values we could just make it do

TEMPER_CHECK_EQUAL("We expected player health to be 5, instead it's: %f", player.health);

Seriously, this tilted me when I just wanted to know what was going on.

image