#include #include #include Test(unique_char, simple) { misc::unique the_answer = 'a'; misc::unique the_same_answer = 'a'; misc::unique the_solution = 'b'; cr_expect_eq(the_answer, misc::unique('a')); cr_expect_eq(the_answer, the_same_answer); cr_expect_neq(the_answer, the_solution); cr_expect_eq(the_answer.get(), the_same_answer.get()); cr_expect_eq(the_answer.get(), misc::unique('a').get()); cr_expect_neq(the_answer.get(), the_solution.get()); }