Very basic subtest 2 print output
This commit is contained in:
parent
bcd0b17caa
commit
b06e717575
16 changed files with 272 additions and 130 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "CheckableTest.h"
|
||||
|
||||
#include <numeric>
|
||||
|
||||
CheckableTest::CheckableTest(
|
||||
const char *name, std::initializer_list<std::string> items)
|
||||
: m_name(name)
|
||||
|
@ -26,3 +28,8 @@ CheckableItems &CheckableTest::items()
|
|||
{
|
||||
return m_items;
|
||||
}
|
||||
|
||||
unsigned int CheckableTest::getPoints() const
|
||||
{
|
||||
return m_items.getPoints();
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ public:
|
|||
const QString &name() const;
|
||||
const CheckableItems &items() const;
|
||||
CheckableItems &items();
|
||||
|
||||
unsigned int getPoints() const;
|
||||
};
|
||||
|
||||
using CheckableTests = std::vector<CheckableTest>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue