blob: b43cd9721de17e7f43da8d55c983c028c39e34c0 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <unittest/unittest.h>
#include "examples/promise_example1.h"
#include "examples/promise_example2.h"
namespace {
bool example1() {
BEGIN_TEST;
promise_example1::run();
END_TEST;
}
bool example2() {
BEGIN_TEST;
promise_example2::run();
END_TEST;
}
} // namespace
BEGIN_TEST_CASE(promise_examples)
RUN_TEST(example1)
RUN_TEST(example2)
END_TEST_CASE(promise_examples)