Skip to content

Commit f470cb8

Browse files
committed
--initial commit
1 parent ceb3b3a commit f470cb8

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

src/tests/CMakeLists.txt

+10
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ corrade_add_test(
114114
)
115115
target_include_directories(GfxBatchHbaoTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
116116

117+
corrade_add_test(
118+
GfxPbrIblTest
119+
GfxPbrIblTest.cpp
120+
LIBRARIES
121+
assets
122+
core
123+
gfx
124+
metadata
125+
)
126+
target_include_directories(GfxPbrIblTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
117127
corrade_add_test(
118128
GfxReplayTest
119129
GfxReplayTest.cpp

src/tests/GfxPbrIblTest.cpp

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Copyright (c) Meta Platforms, Inc. and its affiliates.
2+
// This source code is licensed under the MIT license found in the
3+
// LICENSE file in the root directory of this source tree.
4+
5+
#include <Corrade/Containers/Optional.h>
6+
#include <Corrade/TestSuite/Compare/Numeric.h>
7+
#include <Corrade/TestSuite/Tester.h>
8+
#include <Corrade/Utility/Path.h>
9+
10+
#include "esp/assets/ResourceManager.h"
11+
#include "esp/core/Logging.h"
12+
#include "esp/metadata/MetadataMediator.h"
13+
14+
#include "configure.h"
15+
16+
namespace {
17+
namespace Cr = Corrade;
18+
namespace Mn = Magnum;
19+
20+
using esp::assets::ResourceManager;
21+
using esp::gfx::LightInfo;
22+
using esp::gfx::LightPositionModel;
23+
using esp::gfx::LightSetup;
24+
using esp::metadata::MetadataMediator;
25+
using esp::sim::Simulator;
26+
using esp::sim::SimulatorConfiguration;
27+
28+
struct GfxPbrIblTest : Cr::TestSuite::Tester {
29+
explicit GfxPbrIblTest();
30+
31+
esp::logging::LoggingContext loggingContext;
32+
33+
}; // struct GfxReplayTest
34+
35+
GfxPbrIblTest::GfxPbrIblTest() {}
36+
37+
} // namespace
38+
39+
CORRADE_TEST_MAIN(GfxPbrIblTest)

0 commit comments

Comments
 (0)