1 /* Tests for usersetunits.
2 * Need to ensure usersetunits is assigned before loading the unit package.
6 if not ?boundp ('globalbaseunitlisting)
8 else error ("rtest_unit_usersetunits: unit package is loaded already, but this script must run in a clean session."),
12 ?toplevel\-macsyma\-eval (kg*m/s^2);
15 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
18 ?toplevel\-macsyma\-eval (kg*m^3/s^2);
21 ?toplevel\-macsyma\-eval (kg*m*km/s^2);
27 ?toplevel\-macsyma\-eval (kg*m/s^2);
30 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
31 6241509596477042688*eV;
33 ?toplevel\-macsyma\-eval (kg*m^3/s^2);
34 6241509596477042688*eV*m;
36 ?toplevel\-macsyma\-eval (kg*m*km/s^2);
37 6241509596477042688000*eV;
42 ?toplevel\-macsyma\-eval (kg*m/s^2);
45 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
48 ?toplevel\-macsyma\-eval (kg*m^3/s^2);
51 ?toplevel\-macsyma\-eval (kg*m*km/s^2);
54 ?toplevel\-macsyma\-eval (kg*m/s^2);
57 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
63 ?toplevel\-macsyma\-eval (kg*m/s^2);
66 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
67 6241509596477042688*eV;
72 ?toplevel\-macsyma\-eval (kg*m/s^2);
75 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
84 ?toplevel\-macsyma\-eval (kg*m/s^2);
87 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
93 ?toplevel\-macsyma\-eval (kg*m/s^2);
96 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
102 ?toplevel\-macsyma\-eval (kg*m/s^2);
105 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
114 ?toplevel\-macsyma\-eval (kg*m/s^2);
117 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
123 ?toplevel\-macsyma\-eval (kg*m/s^2);
126 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
127 6241509596477042688*eV;
132 ?toplevel\-macsyma\-eval (kg*m/s^2);
135 ?toplevel\-macsyma\-eval (kg*m^2/s^2);
144 ?toplevel\-macsyma\-eval (kg*m/s^2);
147 ?toplevel\-macsyma\-eval (kg*m^2/s^2);