1// Copyright 2009-2021 Intel Corporation
2// SPDX-License-Identifier: Apache-2.0
3
4#pragma once
5
6#include "platform.h"
7
8#include <vector>
9
10namespace embree
11{
12 /*! virtual interface for all regression tests */
13 struct RegressionTest
14 {
15 RegressionTest (std::string name) : name(name) {}
16 virtual bool run() = 0;
17 std::string name;
18 };
19
20 /*! registers a regression test */
21 void registerRegressionTest(RegressionTest* test);
22
23 /*! run all regression tests */
24 RegressionTest* getRegressionTest(size_t index);
25}
26

source code of qtquick3d/src/3rdparty/embree/common/sys/regression.h