summaryrefslogtreecommitdiffstatsci
path: root/gunit_tests/drawTestBase.h
blob: 403449b7dc28769036d29f31d251923f50c695f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#define _USE_MATH_DEFINES
#include <gtest/gtest.h>
#include "vkvg.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();
};