Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions test/alternative_groups_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c &&
x.d == y.d && x.e == y.e && x.f == y.f );
}
};
namespace alt_groups_test {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c &&
x.d == y.d && x.e == y.e && x.f == y.f);
}
};

}

using namespace alt_groups_test;


//-------------------------------------------------------------------
Expand Down
34 changes: 20 additions & 14 deletions test/alternative_options_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_):
a{a_}, b{b_}, c{c_}, d{d_}
{}
bool a = false, b = false, c = false, d = false;
bool conflict = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c &&
x.d == y.d && x.conflict == y.conflict);
}
};
namespace alt_options_test {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }
{}
bool a = false, b = false, c = false, d = false;
bool conflict = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c &&
x.d == y.d && x.conflict == y.conflict);
}
};

}

using namespace alt_options_test;


//-------------------------------------------------------------------
Expand Down
36 changes: 21 additions & 15 deletions test/alternative_required_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,27 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_):
a{a_}, b{b_}, c{c_}, d{d_}
{}
bool a = false, b = false, c = false, d = false;
bool conflict = false;
std::size_t missing = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.conflict == y.conflict && x.missing == y.missing);
}
};
namespace alt_req_test {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }
{}
bool a = false, b = false, c = false, d = false;
bool conflict = false;
std::size_t missing = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.conflict == y.conflict && x.missing == y.missing);
}
};

}

using namespace alt_req_test;


//-------------------------------------------------------------------
Expand Down
34 changes: 20 additions & 14 deletions test/blocking_test01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}, i{i_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};
namespace test01 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }, i{ i_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};

}

using namespace test01;


//-------------------------------------------------------------------
Expand Down
35 changes: 21 additions & 14 deletions test/blocking_test02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,27 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}, i{i_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};
namespace test02 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }, i{ i_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};

}

using namespace test02;



//-------------------------------------------------------------------
Expand Down
34 changes: 20 additions & 14 deletions test/blocking_test03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}, i{i_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};
namespace test03 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_, int i_ = 0) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }, i{ i_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;
int i = 0;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f && x.i == y.i);
}
};

}

using namespace test03;


//-------------------------------------------------------------------
Expand Down
32 changes: 19 additions & 13 deletions test/blocking_test04.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};
namespace test04 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};

}

using namespace test04;


//-------------------------------------------------------------------
Expand Down
32 changes: 19 additions & 13 deletions test/blocking_test05.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};
namespace test05 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};

}

using namespace test05;


//-------------------------------------------------------------------
Expand Down
32 changes: 19 additions & 13 deletions test/blocking_test06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@


//-------------------------------------------------------------------
struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{a_}, b{b_}, c{c_}, d{d_}, e{e_}, f{f_}
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};
namespace test06 {

struct active {
active() = default;
explicit
active(bool a_, bool b_, bool c_, bool d_, bool e_, bool f_) :
a{ a_ }, b{ b_ }, c{ c_ }, d{ d_ }, e{ e_ }, f{ f_ }
{}
bool a = false, b = false, c = false, d = false, e = false, f = false;

friend bool operator == (const active& x, const active& y) noexcept {
return (x.a == y.a && x.b == y.b && x.c == y.c && x.d == y.d &&
x.e == y.e && x.f == y.f);
}
};

}

using namespace test06;


//-------------------------------------------------------------------
Expand Down
Loading