--------------- tests for the C interface
for i in nextpp pi simple; do \
  j=exemples/$i/c/$i; \
  for k in  c d s g; do \
    echo $j-$k -test; $j-$k -test; \
  done \
done
exemples/nextpp/c/nextpp-c -test
267
exemples/nextpp/c/nextpp-d -test
267
exemples/nextpp/c/nextpp-s -test
267
exemples/nextpp/c/nextpp-g -test
267
exemples/pi/c/pi-c -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/c/pi-d -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/c/pi-s -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/c/pi-g -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/simple/c/simple-c -test
9898979485566356196394568149410
exemples/simple/c/simple-d -test
9898979485566356196394568149410
exemples/simple/c/simple-s -test
9898979485566356196394568149410
exemples/simple/c/simple-g -test
9898979485566356196394568149410
--------------- end of C tests

--------------- tests for the Caml interface
for i in nextpp pi simple; do \
  j=exemples/$i/caml/$i; \
  for k in  c d s g b; do \
    echo $j-$k -test; $j-$k -test; \
  done \
done
exemples/nextpp/caml/nextpp-c -test
267
exemples/nextpp/caml/nextpp-d -test
267
exemples/nextpp/caml/nextpp-s -test
267
exemples/nextpp/caml/nextpp-g -test
267
exemples/nextpp/caml/nextpp-b -test
267
exemples/pi/caml/pi-c -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/caml/pi-d -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/caml/pi-s -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/caml/pi-g -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/caml/pi-b -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/simple/caml/simple-c -test
9898979485566356196394568149410
exemples/simple/caml/simple-d -test
9898979485566356196394568149410
exemples/simple/caml/simple-s -test
9898979485566356196394568149410
exemples/simple/caml/simple-g -test
9898979485566356196394568149410
exemples/simple/caml/simple-b -test
9898979485566356196394568149410
--------------- end of Caml tests

--------------- tests for the Ocaml interface
for i in hamming nextpp pi simple; do \
  j=exemples/$i/ocaml/$i; \
  for k in  clong dlong slong gmp big; do \
    echo $j-byte -e $k -test; $j-byte -e $k -test; \
    echo $j-opt  -e $k -test; $j-opt  -e $k -test; \
  done \
done
exemples/hamming/ocaml/hamming-byte -e clong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-opt -e clong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-byte -e dlong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-opt -e dlong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-byte -e slong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-opt -e slong -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-byte -e gmp -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-opt -e gmp -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-byte -e big -test
x = 761  y = 572  z = 489
exemples/hamming/ocaml/hamming-opt -e big -test
x = 761  y = 572  z = 489
exemples/nextpp/ocaml/nextpp-byte -e clong -test
267
exemples/nextpp/ocaml/nextpp-opt -e clong -test
267
exemples/nextpp/ocaml/nextpp-byte -e dlong -test
267
exemples/nextpp/ocaml/nextpp-opt -e dlong -test
267
exemples/nextpp/ocaml/nextpp-byte -e slong -test
267
exemples/nextpp/ocaml/nextpp-opt -e slong -test
267
exemples/nextpp/ocaml/nextpp-byte -e gmp -test
267
exemples/nextpp/ocaml/nextpp-opt -e gmp -test
267
exemples/nextpp/ocaml/nextpp-byte -e big -test
267
exemples/nextpp/ocaml/nextpp-opt -e big -test
267
exemples/pi/ocaml/pi-byte -e clong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-opt -e clong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-byte -e dlong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-opt -e dlong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-byte -e slong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-opt -e slong -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-byte -e gmp -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-opt -e gmp -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-byte -e big -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/ocaml/pi-opt -e big -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/simple/ocaml/simple-byte -e clong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-opt -e clong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-byte -e dlong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-opt -e dlong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-byte -e slong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-opt -e slong -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-byte -e gmp -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-opt -e gmp -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-byte -e big -test
9898979485566356196394568149410
exemples/simple/ocaml/simple-opt -e big -test
9898979485566356196394568149410
--------------- end of Ocaml tests

--------------- tests for the Pascal interface
for i in  exemples/nextpp/pascal/nextpp-c exemples/nextpp/pascal/nextpp-d exemples/nextpp/pascal/nextpp-s exemples/pi/pascal/pi-c exemples/pi/pascal/pi-d exemples/pi/pascal/pi-s exemples/simple/pascal/simple-c exemples/simple/pascal/simple-d exemples/simple/pascal/simple-s; do echo $i -test; $i -test; done
exemples/nextpp/pascal/nextpp-c -test
267
exemples/nextpp/pascal/nextpp-d -test
267
exemples/nextpp/pascal/nextpp-s -test
267
exemples/pi/pascal/pi-c -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/pascal/pi-d -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/pi/pascal/pi-s -test
3.
14159 26535  89793 23846  26433 83279  50288 41971  69399 37510
... (18 lignes omises)
18577 80532  17122 68066  13001 92787  66111 95909  21642 01989

exemples/simple/pascal/simple-c -test
9898979485566356196394568149410
exemples/simple/pascal/simple-d -test
9898979485566356196394568149410
exemples/simple/pascal/simple-s -test
9898979485566356196394568149410
--------------- end of Pascal tests

