factor/extra/units/si/si-tests.factor

14 lines
361 B
Factor
Raw Normal View History

2007-10-06 13:37:11 -04:00
USING: kernel tools.test units.si inverse math.constants
math.functions units.imperial ;
2008-03-01 17:00:45 -05:00
IN: units.si.tests
2007-09-20 18:09:08 -04:00
{ t } [ 1 m 100 cm = ] unit-test
2007-09-20 18:09:08 -04:00
{ t } [ 180 arc-deg [ radians ] undo pi 0.0001 ~ ] unit-test
2007-09-20 18:09:08 -04:00
{ t } [ 180 arc-min [ arc-deg ] undo 3 0.0001 ~ ] unit-test
2007-09-20 18:09:08 -04:00
{ -40 } [ -40 deg-F [ deg-C ] undo ] unit-test
2007-09-20 18:09:08 -04:00
{ -40 } [ -40 deg-C [ deg-F ] undo ] unit-test