summaryrefslogtreecommitdiffstatsci
path: root/gunit_tests/drawTestBase.h
blob: 97d8eae5310095c01e2f78a8e3104a23ff9e2d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "vkvg.h"
#include <gtest/gtest.h>
#include <filesystem>

namespace fs = std::filesystem;

class DrawTestBase : public testing::Test {
  public:
    VkvgDevice  dev;
    VkvgSurface surf;
    fs::path targetDir;
    fs::path diffDir;

  protected:
    DrawTestBase();
    ~DrawTestBase() override;
    void SetUp() override;
    void TearDown() override;

    void compareWithRefImage();
};