Mercurial > hg > dmlib
changeset 712:048df6a4b26d
Add tests.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 17 Apr 2013 07:47:30 +0300 |
parents | 4eb5a0d72397 |
children | 80c3e69aa301 |
files | tests/testeval.sh |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/testeval.sh Wed Apr 17 07:47:21 2013 +0300 +++ b/tests/testeval.sh Wed Apr 17 07:47:30 2013 +0300 @@ -24,6 +24,10 @@ 9+5&(3 + 7) (5*(7&3) + 1) 123045 >> 1 & 60 +~60 +3 + ~5 +-~128 +5-~127 " | while read f; do if test "x$f" != "x"; then printf "#include <stdio.h>\nint main(int argc, char *argv[])\n{\n (void) argc; (void) argv;\n printf(\"%%1.5f\\\\n\", (double) (%s));\n return 0;\n}\n" "$f" > "$CTEST.c"