summaryrefslogtreecommitdiff
path: root/tests/unit/CardPack/CardPack_test.h
blob: e25c75d1c1a3a621b4278c3d8a35e74682726302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef CARDPACK_TEST_H
#define CARDPACK_TEST_H

#include <gtest/gtest.h>
#include <iostream>
#include <QtCore>

#include "../../../src/dictionary/CardPack.h"
#include "../../mocks/Dictionary_mock.h"

using std::ostream;

class Field;

class CardPackTest: public testing::Test
{
public:
    CardPackTest();

protected:
    MockDictionary dict;
    CardPack pack;
    Field qstField;
    Field ansField1;
    Field ansField2;
    QList<const Field*> ansFields;
};

ostream& operator<<(ostream& os, const Field* field);

#endif