16 #ifndef SURGSIM_TESTING_UTILITIES_H 17 #define SURGSIM_TESTING_UTILITIES_H 31 template <
class Container>
32 bool doesContain(
const Container& container,
const typename Container::value_type& value)
34 return std::find(container.begin(), container.end(), value) != container.end();
Definition: CompoundShapeToGraphics.cpp:29
bool doesContain(const Container &container, const typename Container::value_type &value)
Predicate to use to test whether a container contains a certain element.
Definition: Utilities.h:32