mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-23 04:02:25 +02:00
23 lines
406 B
Plaintext
23 lines
406 B
Plaintext
|
#!/bin/sh
|
||
|
. ./Common
|
||
|
|
||
|
###############################################################################
|
||
|
|
||
|
fped "floor: 4.7mm" <<EOF
|
||
|
%print floor(4.7mm)
|
||
|
EOF
|
||
|
expect <<EOF
|
||
|
4mm
|
||
|
EOF
|
||
|
|
||
|
#------------------------------------------------------------------------------
|
||
|
|
||
|
fped "floor: -1.2m" <<EOF
|
||
|
%print floor(-1.2)
|
||
|
EOF
|
||
|
expect <<EOF
|
||
|
-2
|
||
|
EOF
|
||
|
|
||
|
###############################################################################
|