OpenVDB: unittest_util Namespace Reference

OpenVDB 9.0.0

Typedefs | Functions
unittest_util Namespace Reference

## Typedefs
using | CodeTests = std::vector< std::pair< std::string, openvdb::ax::ast::Node::Ptr > >

## Functions
void | replace (std::string &str, const std::string &oldStr, const std::string &newStr)
bool | compareLinearTrees (const std::vector< const openvdb::ax::ast::Node * > &a, const std::vector< const openvdb::ax::ast::Node * > &b, const bool allowEmpty=false)
std::vector< std::string > | nameSequence (const std::string &base, const size_t number)

## Typedef Documentation

## ◆ CodeTests

using CodeTests = std::vector<std::pair<std::string, openvdb::ax::ast::Node::Ptr> >

## Function Documentation

## ◆ compareLinearTrees()

bool unittest_util::compareLinearTrees | ( | const std::vector< const openvdb::ax::ast::Node * > & | a,
|  | const std::vector< const openvdb::ax::ast::Node * > & | b,
|  | const bool | allowEmpty = `false`
| ) |  |
| inline

## ◆ nameSequence()

std::vector< std::string > unittest_util::nameSequence | ( | const std::string & | base,
|  | const size_t | number
| ) |  |
| inline

## ◆ replace()

void unittest_util::replace | ( | std::string & | str,
|  | const std::string & | oldStr,
|  | const std::string & | newStr
| ) |  |
| inline