1 // Copyright 2018 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include <unittest/unittest.h>
6 
7 #include "examples/function_example1.h"
8 #include "examples/function_example2.h"
9 
10 namespace {
11 
example1()12 bool example1() {
13     BEGIN_TEST;
14     function_example1::run();
15     END_TEST;
16 }
17 
example2()18 bool example2() {
19     BEGIN_TEST;
20     function_example2::run();
21     END_TEST;
22 }
23 } // namespace
24 
25 BEGIN_TEST_CASE(function_examples)
26 RUN_TEST(example1);
27 RUN_TEST(example2);
28 END_TEST_CASE(function_examples)
29