nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
stipple_tests.h
1#ifndef NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
2#define NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
3
4#include <memory>
5#include <vector>
6
7#include "test_host.h"
8#include "test_suite.h"
9
10// Tests behavior of 0x147C - 3D_POLYGON_STIPPLE_ENABLE
11class StippleTests : public TestSuite {
12 public:
13 StippleTests(TestHost& host, std::string output_dir, const Config& config);
14
15 void Initialize() override;
16 void TearDownTest() override;
17
18 private:
19 void Test(const std::string& name, bool stipple_enable, const std::vector<DWORD>& stipple_pattern);
20};
21
22#endif // NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
Definition stipple_tests.h:11
void TearDownTest() override
Called after running an individual test within this suite.
Definition stipple_tests.cpp:71
void Initialize() override
Called to initialize the test suite.
Definition stipple_tests.cpp:59
Definition test_host.h:33
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23