12
18
// Unit conversion test program
14
20
int main(int argc, char **argv) {
16
26
cerr << "One argument, the unit to be converted, must be given" << endl;
21
31
cout << indent << "Conversion between " << unit->string_rep() << " and atomic units:" << endl;
22
32
cout << setprecision(10);
23
33
cout << indent << "From atomic units: " << unit->from_atomic_units() << endl;