OmniSciDB  04ee39c94c
anonymous_namespace{TokenCompletionHintsTest.cpp} Namespace Reference

Functions

void assert_set_equals (const std::vector< std::string > &expected, const std::vector< std::string > &actual)
 

Function Documentation

◆ assert_set_equals()

void anonymous_namespace{TokenCompletionHintsTest.cpp}::assert_set_equals ( const std::vector< std::string > &  expected,
const std::vector< std::string > &  actual 
)

Definition at line 50 of file TokenCompletionHintsTest.cpp.

Referenced by TEST().

51  {
52  auto actual_sorted = actual;
53  std::sort(actual_sorted.begin(), actual_sorted.end());
54  auto expected_sorted = expected;
55  std::sort(expected_sorted.begin(), expected_sorted.end());
56  ASSERT_EQ(expected_sorted, actual_sorted);
57 }
+ Here is the caller graph for this function: