This has come up before.
See Comparing enum cases while ignoring associated values - #5 by Dante-Broggi
and Testing enum cases with associated values - #12 by Andy_Chou
Sadly there is no good solution at the moment that I know of.
This has come up before.
See Comparing enum cases while ignoring associated values - #5 by Dante-Broggi
and Testing enum cases with associated values - #12 by Andy_Chou
Sadly there is no good solution at the moment that I know of.