Skip to content

Commit

Permalink
Add 'adiar::' prefix to future-proof test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Mar 6, 2024
1 parent 966f3cb commit ea4e9fd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions test/adiar/test_bool_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ go_bandit([]() {
});

it("imp_op", [&]() {
AssertThat(imp_op(true, true), Is().EqualTo(true));
AssertThat(imp_op(true, false), Is().EqualTo(false));
AssertThat(imp_op(false, true), Is().EqualTo(true));
AssertThat(imp_op(false, false), Is().EqualTo(true));
AssertThat(adiar::imp_op(true, true), Is().EqualTo(true));
AssertThat(adiar::imp_op(true, false), Is().EqualTo(false));
AssertThat(adiar::imp_op(false, true), Is().EqualTo(true));
AssertThat(adiar::imp_op(false, false), Is().EqualTo(true));
});

it("invimp_op", [&]() {
AssertThat(invimp_op(true, true), Is().EqualTo(true));
AssertThat(invimp_op(true, false), Is().EqualTo(true));
AssertThat(invimp_op(false, true), Is().EqualTo(false));
AssertThat(invimp_op(false, false), Is().EqualTo(true));
AssertThat(adiar::invimp_op(true, true), Is().EqualTo(true));
AssertThat(adiar::invimp_op(true, false), Is().EqualTo(true));
AssertThat(adiar::invimp_op(false, true), Is().EqualTo(false));
AssertThat(adiar::invimp_op(false, false), Is().EqualTo(true));
});

it("equiv_op", [&]() {
Expand All @@ -66,17 +66,17 @@ go_bandit([]() {
});

it("diff_op", [&]() {
AssertThat(diff_op(true, true), Is().EqualTo(false));
AssertThat(diff_op(true, false), Is().EqualTo(true));
AssertThat(diff_op(false, true), Is().EqualTo(false));
AssertThat(diff_op(false, false), Is().EqualTo(false));
AssertThat(adiar::diff_op(true, true), Is().EqualTo(false));
AssertThat(adiar::diff_op(true, false), Is().EqualTo(true));
AssertThat(adiar::diff_op(false, true), Is().EqualTo(false));
AssertThat(adiar::diff_op(false, false), Is().EqualTo(false));
});

it("less_op", [&]() {
AssertThat(less_op(true, true), Is().EqualTo(false));
AssertThat(less_op(true, false), Is().EqualTo(false));
AssertThat(less_op(false, true), Is().EqualTo(true));
AssertThat(less_op(false, false), Is().EqualTo(false));
AssertThat(adiar::less_op(true, true), Is().EqualTo(false));
AssertThat(adiar::less_op(true, false), Is().EqualTo(false));
AssertThat(adiar::less_op(false, true), Is().EqualTo(true));
AssertThat(adiar::less_op(false, false), Is().EqualTo(false));
});
});
});

0 comments on commit ea4e9fd

Please sign in to comment.