Skip to content

Commit

Permalink
fixed failing PointBake Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacey committed Sep 26, 2023
1 parent 5267ac4 commit 83bfe38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sonar.tests = ./tests/
sonar.cfamily.build-wrapper-output=cfamily-output
sonar.cfamily.cache.enabled=false
# sonar.cfamily.cache.path=relative_or_absolute_path_to_cache_location
sonar.coverage.exclusions = ./tests/files/* ./src/ngl/* ./src/shaders/* ./tests/files/*
sonar.coverage.exclusions = ./tests/files/* ./src/ngl/* ./src/shaders/*

sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.c,.h
Expand Down
3 changes: 2 additions & 1 deletion tests/PointBakeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ TEST(PointBake,filector)
TEST(PointBake,addMesh)
{
auto pb=ngl::NCCAPointBake("files/Tri.xml");
auto mesh=ngl::Obj("models/Tri.obj",ngl::Obj::CalcBB::False);
auto mesh=ngl::Obj();
EXPECT_TRUE(mesh.load("files/Triangle1.obj",ngl::Obj::CalcBB::False));
EXPECT_TRUE(pb.attachMesh(&mesh));
}

Expand Down

0 comments on commit 83bfe38

Please sign in to comment.