-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Milestone
Description
The comparison macros in the testing framework are important as they also print the value that are being compared. This provides user a better overview as why test failed. But this also raises question as how the values should be printed? Should we use the overloaded << operator or should we force the user to implement a function for each type? or some hierarchical solution involving both?
My personal choice would be to ue the operator<< overload as default and give user an option by which he can use some other function instead. This can be achieved with SFINAE options.