![]() |
MolSSI Integral Reference Project
|
Miscellaneous testing functions. More...
#include "test_common.hpp"
#include <mirp/pragma.h>
#include <cmath>
#include <algorithm>
#include <locale>
#include <map>
#include <iostream>
Namespaces | |
mirp | |
Functions | |
void | mirp::print_results (unsigned long nfailed, unsigned long ntests) |
Print the results of a test. More... | |
int | mirp::amchar_to_int (char am) |
Convert a character representing an angular momentum to an integer. More... | |
int | mirp::element_to_z (const std::string &element) |
Convert a string representing an element to its atomic Z number. More... | |
std::string | mirp::str_tolower (const std::string &s) |
Converts a string to lower case, returning a copy. More... | |
std::string | mirp::trim (const std::string &s) |
Trims spaces and tabs from both ends of a string, returning a copy. More... | |
std::vector< std::string > | mirp::split (const std::string &s, char sep=' ') |
Splits a string into components. More... | |
bool | mirp::file_skip (std::istream &fs, char commentchar) |
Advances the stream past any comment and blank lines. More... | |
Miscellaneous testing functions.