io-funcs-test.cc File Reference
#include "base/io-funcs.h"
#include "base/kaldi-math.h"
Include dependency graph for io-funcs-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

void UnitTestIo (bool binary)
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 151 of file io-funcs-test.cc.

References rnnlm::i, KALDI_ASSERT, and kaldi::UnitTestIo().

151  {
152  using namespace kaldi;
153  for (size_t i = 0; i < 10; i++) {
154  UnitTestIo(false);
155  UnitTestIo(true);
156  }
157  KALDI_ASSERT(1); // just to check that KALDI_ASSERT does not fail for 1.
158  return 0;
159 }
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition: chain.dox:20
void UnitTestIo(bool binary)
#define KALDI_ASSERT(cond)
Definition: kaldi-error.h:185