Gromacs  2026.0-dev-20250318-75a6c20
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
#include "gmxpre.h"
#include "gromacs/domdec/hashedmap.h"
#include <string>
#include <gtest/gtest.h>
#include "testutils/testasserts.h"
+ Include dependency graph for hashedmap.cpp:

Description

Tests for the HashedMap class.

Author
berk Hess hess@.nosp@m.kth..nosp@m.se

Functions

void gmx::test::anonymous_namespace{hashedmap.cpp}::checkFinds (const gmx::HashedMap< char > &map, int key, char value)
 Checks that the key is found and if so also checks the value.
 
void gmx::test::anonymous_namespace{hashedmap.cpp}::checkDoesNotFind (const gmx::HashedMap< char > &map, int key)
 Checks that the key is not found.