Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
symtab.cpp File Reference
#include "gmxpre.h"
#include "gromacs/topology/symtab.h"
#include <memory>
#include <gtest/gtest.h>
#include "gromacs/utility/strconvert.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/refdata.h"
+ Include dependency graph for symtab.cpp:

Description

Tests for legacy symbol table.

Author
Paul Bauer paul..nosp@m.baue.nosp@m.r.q@g.nosp@m.mail.nosp@m..com

Functions

bool gmx::test::anonymous_namespace{symtab.cpp}::entriesAreEqual (t_symtab *symtab, char **symbol, int index)
 Helper that compares an input to a handle obtained from symtab lookup. More...
 
void gmx::test::anonymous_namespace{symtab.cpp}::compareSymtabLookupAndHandle (t_symtab *symtab, char **symbol)
 Helper function to check internal consistency of symtab lookup. More...
 
void gmx::test::anonymous_namespace{symtab.cpp}::compareDifferentHandles (t_symtab *symtab, char **firstSymbol, char **otherSymbol, bool expectedOutcome)
 Check that symbols obtained from symtab compare correctly. More...