ProteoWizard
|
#include "CVTranslator.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <cstring>
Go to the source code of this file.
Functions | |
void | test (const CVTranslator &translator, const string &text, CVID correct) |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void test | ( | const CVTranslator & | translator, |
const string & | text, | ||
CVID | correct | ||
) |
Definition at line 38 of file CVTranslatorTest.cpp.
References pwiz::cv::cvTermInfo(), pwiz::cv::CVTermInfo::id, pwiz::cv::CVTermInfo::name, os_, pwiz::data::CVTranslator::translate(), and unit_assert.
void test | ( | ) |
Definition at line 47 of file CVTranslatorTest.cpp.
References CVID_Unknown, pwiz::data::CVTranslator::insert(), MS_FT_ICR, MS_ion_trap, MS_m_z, MS_software, MS_TIC, os_, test(), pwiz::data::CVTranslator::translate(), and unit_assert.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 80 of file CVTranslatorTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
ostream* os_ = 0 |
Definition at line 35 of file CVTranslatorTest.cpp.