fix: tests
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user