Calculator
Step 6
|
#include <iostream>
#include <istream>
#include <ostream>
#include <sstream>
#include <string>
#include <boost/test/auto_unit_test.hpp>
#include "calc_error.hpp"
#include "number.hpp"
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_SUITE (number_test) | |
BOOST_AUTO_TEST_CASE (test_basics) | |
BOOST_AUTO_TEST_CASE (test_library) | |
BOOST_AUTO_TEST_CASE (test_compare) | |
BOOST_AUTO_TEST_CASE (test_add) | |
BOOST_AUTO_TEST_CASE (test_subtract) | |
BOOST_AUTO_TEST_CASE (test_multiply) | |
BOOST_AUTO_TEST_CASE (test_divide) | |
BOOST_AUTO_TEST_CASE (test_rational) | |
BOOST_AUTO_TEST_SUITE_END () | |
BOOST_AUTO_TEST_CASE | ( | test_basics | ) |
Definition at line 14 of file test_number.cpp.
References number::to_string().
BOOST_AUTO_TEST_CASE | ( | test_library | ) |
Definition at line 26 of file test_number.cpp.
References number::save(), and number::to_string().
BOOST_AUTO_TEST_CASE | ( | test_compare | ) |
Definition at line 43 of file test_number.cpp.
BOOST_AUTO_TEST_CASE | ( | test_add | ) |
Definition at line 69 of file test_number.cpp.
BOOST_AUTO_TEST_CASE | ( | test_subtract | ) |
Definition at line 76 of file test_number.cpp.
BOOST_AUTO_TEST_CASE | ( | test_multiply | ) |
Definition at line 83 of file test_number.cpp.
BOOST_AUTO_TEST_CASE | ( | test_divide | ) |
Definition at line 90 of file test_number.cpp.
BOOST_AUTO_TEST_CASE | ( | test_rational | ) |
Definition at line 101 of file test_number.cpp.
BOOST_AUTO_TEST_SUITE | ( | number_test | ) |
BOOST_AUTO_TEST_SUITE_END | ( | ) |