fix: tests

This commit is contained in:
parker
2025-08-17 22:19:53 +01:00
parent d206868e8b
commit caf1510d11
7 changed files with 64 additions and 2 deletions

View File

@@ -26,7 +26,8 @@ struct OperatorTableInit
OperatorTableInit() { enzo::op::OperatorTable::initPlugins(); }
};
static OperatorTableInit _operatorTableInit;
auto testOpInfo = enzo::op::OperatorTable::getOpInfo("house").value();
auto testOpInfoOptional = enzo::op::OperatorTable::getOpInfo("grid");
auto testOpInfo = testOpInfoOptional.value();
TEST_CASE_METHOD(NMReset, "network fixture separation start")
{

View File

@@ -32,7 +32,7 @@ TEST_CASE("geometry")
// check getter
std::shared_ptr<ga::Attribute> myAttribute = geo.getAttribByName(ga::AttrOwner::POINT, "index");
ga::AttributeHandle<int> myHandle2(myAttribute);
ga::AttributeHandle<bt::intT> myHandle2(myAttribute);
REQUIRE(myHandle2.getValue(0)==5);
REQUIRE(myHandle2.getValue(1)==6);