Gromacs  2025.0-dev-20241029-e106fce
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
listoflists.cpp File Reference
#include "gmxpre.h"
#include "gromacs/utility/listoflists.h"
#include <cstddef>
#include <algorithm>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/utility/arrayref.h"
#include "testutils/testasserts.h"
+ Include dependency graph for listoflists.cpp:

Description

Tests for the ListOfLists class.

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

Functions

template<typename T >
void gmx::test::anonymous_namespace{listoflists.cpp}::compareLists (const ListOfLists< T > &list, const std::vector< std::vector< T >> &v)
 Compares all element between two lists of lists.
 
template<typename T >
void gmx::test::anonymous_namespace{listoflists.cpp}::checkAppend (const std::vector< std::vector< T >> inputLists)
 Checks whether append works and stores the data correctly.