#include <iostream> #include <cmath> #include "get_double_at.h" using namespace std; int main() { double *wt_ptr; double wt; wt = 18.9; wt_ptr = &wt; cout << boolalpha; cout << endl; cout << "testing get_double_at: true's should mean passed: " << endl; cout << "---------------------------------------" << endl; cout << "(get_double_at(wt_ptr) == 18.9): " << (get_double_at(wt_ptr) == 18.9) << endl; cout << endl; return EXIT_SUCCESS; }