unittest/heap_test.cc
TEST_F(HeapTest, SortTest) {
  GenericHeap<IntKDPair> heap;
  EXPECT_TRUE(heap.empty());
  KDVector v;
  EXPECT_EQ(heap.size(), v.size());
  // Push the test data onto both the heap and the KDVector.
  PushTestData(&heap, &v);
  VerifyHeapVectorMatch(&heap, &v);
}
// Tests that a sort using a GenericHeap matches the result of a sort using
// a KDVector.
Tests that a sort using a GenericHeap matches the result of a sort using
a KDVector.
Tests that a sort using a GenericHeap matches the result of a sort using a KDVector .
TEST_F(HeapTest, SortTest) {
  GenericHeap<IntKDPair> heap;
  EXPECT_TRUE(heap.empty());
  KDVector v;
  EXPECT_EQ(heap.size(), v.size());
  PushTestData(&heap, &v);
  VerifyHeapVectorMatch(&heap, &v);
}
TEST_F ( HeapTest , SortTest ) { GenericHeap < IntKDPair > heap ; EXPECT_TRUE ( heap . empty ( ) ) ; KDVector v ; EXPECT_EQ ( heap . size ( ) , v . size ( ) ) ; PushTestData ( & heap , & v ) ; VerifyHeapVectorMatch ( & heap , & v ) ; }
Tests that a sort using a GenericHeap matches the result of a sort using
a KDVector.
Tests that a sort using a GenericHeap matches the result of a sort using a KDVector .
// Push the test data onto both the heap and the KDVector.