feat: provide and use a common calling interface to all chapter tests

This commit is contained in:
Michael Mandl 2023-10-21 12:31:23 +02:00
parent dfaee89d56
commit 89d1469088
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
13 changed files with 52 additions and 26 deletions

View file

@ -1,5 +1,8 @@
#pragma once
namespace constexp {
void test();
#include "chapter_interface.h"
class ConstExpTest : public ChapterTest {
public:
virtual void test() override;
};

View file

@ -1,7 +1,8 @@
#pragma once
namespace ifswitch {
void test();
#include "chapter_interface.h"
class IfswitchTest : public ChapterTest {
public:
virtual void test() override;
};

View file

@ -1,5 +1,8 @@
#pragma once
namespace initlist {
void test();
#include "chapter_interface.h"
class InitListTest : public ChapterTest {
public:
virtual void test() override;
};

View file

@ -1,5 +1,8 @@
#pragma once
namespace null {
void test();
#include "chapter_interface.h"
class NullTest : public ChapterTest {
public:
virtual void test() override;
};