79 const std::string & floattype,
80 int extra_m, slong working_prec);
101 const std::string & output_filepath,
102 slong working_prec,
long ndigits,
103 const std::string & header);
void boys_create_test(const std::string &input_filepath, const std::string &output_filepath, slong working_prec, long ndigits, const std::string &header)
Create a test file for the Boys function from a given input file.
Definition: test_boys.cpp:276
std::vector< boys_data_entry > entries
Actual data for the tests.
Definition: test_boys.hpp:28
A collection of data for testing the Boys function.
Definition: test_boys.hpp:23
std::string header
Header or comments about the test.
Definition: test_boys.hpp:27
long boys_verify_test_main(const std::string &filepath, const std::string &floattype, int extra_m, slong working_prec)
Run a test of the Boys function.
Definition: test_boys.cpp:249
An single entry for a Boys function test.
Definition: test_boys.hpp:15
long ndigits
The number of digits of accuracy in the file.
Definition: test_boys.hpp:25
int m
The order of the Boys function.
Definition: test_boys.hpp:17
std::string value
The expected (reference) value.
Definition: test_boys.hpp:19
boys_data boys_read_file(const std::string &filepath, bool is_input)
Read a file with reference data for the Boys function.
Definition: test_boys.cpp:146
int boys_max_m(const boys_data &data)
Finds the maximum value of m in a Boys test data structure.
Definition: test_boys.cpp:137
void boys_write_file(const std::string &filepath, const boys_data &data)
Write a file with reference data for the Boys function.
Definition: test_boys.cpp:227
long working_prec
Working precision used for the integrals.
Definition: test_boys.hpp:26
std::string t
The value at which the function is evaluated.
Definition: test_boys.hpp:18