Skip to content

Commit

Permalink
--initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jturner65 committed Aug 13, 2024
1 parent 643292f commit 2031f13
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ corrade_add_test(
)
target_include_directories(GfxBatchHbaoTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

corrade_add_test(
GfxPbrIblTest
GfxPbrIblTest.cpp
LIBRARIES
assets
core
gfx
metadata
)
target_include_directories(GfxPbrIblTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
corrade_add_test(
GfxReplayTest
GfxReplayTest.cpp
Expand Down
39 changes: 39 additions & 0 deletions src/tests/GfxPbrIblTest.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Copyright (c) Meta Platforms, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

#include <Corrade/Containers/Optional.h>
#include <Corrade/TestSuite/Compare/Numeric.h>
#include <Corrade/TestSuite/Tester.h>
#include <Corrade/Utility/Path.h>

#include "esp/assets/ResourceManager.h"
#include "esp/core/Logging.h"
#include "esp/metadata/MetadataMediator.h"

#include "configure.h"

namespace {
namespace Cr = Corrade;
namespace Mn = Magnum;

using esp::assets::ResourceManager;
using esp::gfx::LightInfo;
using esp::gfx::LightPositionModel;
using esp::gfx::LightSetup;
using esp::metadata::MetadataMediator;
using esp::sim::Simulator;
using esp::sim::SimulatorConfiguration;

struct GfxPbrIblTest : Cr::TestSuite::Tester {
explicit GfxPbrIblTest();

esp::logging::LoggingContext loggingContext;

}; // struct GfxReplayTest

GfxPbrIblTest::GfxPbrIblTest() {}

} // namespace

CORRADE_TEST_MAIN(GfxPbrIblTest)

0 comments on commit 2031f13

Please sign in to comment.