feat: provide and use a common calling interface to all chapter tests
This commit is contained in:
parent
dfaee89d56
commit
89d1469088
13 changed files with 52 additions and 26 deletions
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
namespace constexp {
|
||||
void test();
|
||||
#include "chapter_interface.h"
|
||||
|
||||
class ConstExpTest : public ChapterTest {
|
||||
public:
|
||||
virtual void test() override;
|
||||
};
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
namespace ifswitch {
|
||||
|
||||
void test();
|
||||
#include "chapter_interface.h"
|
||||
|
||||
class IfswitchTest : public ChapterTest {
|
||||
public:
|
||||
virtual void test() override;
|
||||
};
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
namespace initlist {
|
||||
void test();
|
||||
#include "chapter_interface.h"
|
||||
|
||||
class InitListTest : public ChapterTest {
|
||||
public:
|
||||
virtual void test() override;
|
||||
};
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
namespace null {
|
||||
void test();
|
||||
#include "chapter_interface.h"
|
||||
|
||||
class NullTest : public ChapterTest {
|
||||
public:
|
||||
virtual void test() override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue