stl-utils-test.cc File Reference
#include "base/kaldi-common.h"
#include "util/stl-utils.h"
Include dependency graph for stl-utils-test.cc:

Go to the source code of this file.

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 

Functions

static void TestIsSorted ()
 
static void TestIsSortedAndUniq ()
 
static void TestUniq ()
 
static void TestSortAndUniq ()
 
void TestCopySetToVector ()
 
void TestCopyMapToVector ()
 
void TestCopyMapKeysToVector ()
 
void TestCopyMapValuesToVector ()
 
void TestCopyMapKeysToSet ()
 
void TestCopyMapValuesToSet ()
 
void TestContainsNullPointers ()
 
void TestReverseVector ()
 
void TestMergePairVectorSumming ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 255 of file stl-utils-test.cc.

References kaldi::TestContainsNullPointers(), kaldi::TestCopyMapKeysToSet(), kaldi::TestCopyMapKeysToVector(), kaldi::TestCopyMapToVector(), kaldi::TestCopyMapValuesToSet(), kaldi::TestCopyMapValuesToVector(), kaldi::TestCopySetToVector(), kaldi::TestIsSorted(), kaldi::TestIsSortedAndUniq(), kaldi::TestMergePairVectorSumming(), kaldi::TestReverseVector(), kaldi::TestSortAndUniq(), and kaldi::TestUniq().

255  {
256  using namespace kaldi;
257  TestIsSorted();
259  TestUniq();
260  TestSortAndUniq();
270  // CopyVectorToSet implicitly tested by last 2.
271  std::cout << "Test OK\n";
272 }
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition: chain.dox:20
static void TestIsSorted()
void TestCopyMapKeysToSet()
static void TestIsSortedAndUniq()
void TestCopyMapToVector()
static void TestUniq()
void TestCopyMapValuesToVector()
void TestCopyMapValuesToSet()
void TestReverseVector()
void TestMergePairVectorSumming()
void TestCopySetToVector()
void TestContainsNullPointers()
static void TestSortAndUniq()
void TestCopyMapKeysToVector()