Skip to content

Comaparison macros for testing framework #19

@sumedhghaisas

Description

@sumedhghaisas

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions