2 #include <gtest/gtest.h>
5 using namespace std::literals::string_literals;
7 TEST(StylePropertiesTests, noArgConstructionTest) {
11 TEST(StylePropertiesTests, constructionTest) {
12 std::unordered_set<std::string> required = {
16 std::unordered_set<std::string> optional = {
20 ASSERT_NO_THROW(([&](){
25 TEST(StylePropertiesTests, equalityOperatorTest) {
26 const auto first =
StyleProperties{
"name"s, {
"a"s,
"b"s,
"c"s}, {
"a"s,
"b"s,
"c"s}};
27 const auto second =
StyleProperties{
"name"s, {
"a"s,
"c"s,
"b"s}, {
"c"s,
"b"s,
"a"s}};
28 ASSERT_NO_THROW(ASSERT_EQ(first, second));