24 #if 0 // compilation cursor 26 TEST(Values, canonicalForm) {
33 TEST(Values, typeDeduction) {
39 TEST(Values, exceptionNeedsType) {
42 std::runtime_error err(
"Don't Panic");
43 auto question = __(err);
49 TEST(Values, typeConversion) {
60 TEST(Values, tryInside) {
67 t =
Future<int>(std::runtime_error(
"Don't Panic")).__();
#define TEST(test_case_name, test_name)
#define EXPECT_THROW(statement, expected_exception)
#define EXPECT_EQ(val1, val2)
#define EXPECT_TRUE(condition)
Future< typename std::decay< T >::type > makeFuture(T &&t)