Lines Matching refs:cards
1504 enum class cards {kreuz, pik, herz, karo}; enum
1507 NLOHMANN_JSON_SERIALIZE_ENUM(cards,
1509 {cards::kreuz, "kreuz"},
1510 {cards::pik, "pik"},
1511 {cards::pik, "puk"}, // second entry for cards::puk; will not be used
1512 {cards::herz, "herz"},
1513 {cards::karo, "karo"}
1538 CHECK(json(cards::kreuz) == "kreuz");
1539 CHECK(json(cards::pik) == "pik");
1540 CHECK(json(cards::herz) == "herz");
1541 CHECK(json(cards::karo) == "karo");
1544 CHECK(cards::kreuz == json("kreuz"));
1545 CHECK(cards::pik == json("pik"));
1546 CHECK(cards::herz == json("herz"));
1547 CHECK(cards::karo == json("karo"));
1550 CHECK(cards::kreuz == json("what?").get<cards>());