Enums
The matchers we've seen in the previous exercise are specialised for Option
and Result
, but googletest
also has
a more generic matcher to match variants of arbitrary enums (and other patterns).
Exercise
The exercise for this section is located in 01_better_assertions/05_enums