From a739b40b2c96a0161884147cf6b4c3bdf0ffc465 Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Wed, 17 Jun 2009 10:39:32 +0000 Subject: [PATCH] Fixed quicksort test Fixed math library test git-svn-id: http://picoc.googlecode.com/svn/trunk@334 21eae674-98b7-11dd-bd71-f92a316d2d60 --- tests/24_math_library.c | 3 --- tests/24_math_library.expect | 3 --- tests/25_quicksort.expect | 2 ++ 3 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 tests/25_quicksort.expect diff --git a/tests/24_math_library.c b/tests/24_math_library.c index a492cf5..1f69a30 100644 --- a/tests/24_math_library.c +++ b/tests/24_math_library.c @@ -7,9 +7,6 @@ printf("%f\n", atan(0.12)); printf("%f\n", sinh(0.12)); printf("%f\n", cosh(0.12)); printf("%f\n", tanh(0.12)); -printf("%f\n", asinh(0.12)); -printf("%f\n", acosh(1.12)); -printf("%f\n", atanh(0.12)); printf("%f\n", exp(0.12)); printf("%f\n", fabs(-0.12)); printf("%f\n", log(0.12)); diff --git a/tests/24_math_library.expect b/tests/24_math_library.expect index ececfd2..40912d5 100644 --- a/tests/24_math_library.expect +++ b/tests/24_math_library.expect @@ -7,9 +7,6 @@ 0.12 1.0 0.119427 -0.119713 -0.485126 -0.12 1.127496 0.12 -2.12 diff --git a/tests/25_quicksort.expect b/tests/25_quicksort.expect new file mode 100644 index 0000000..2d39cd3 --- /dev/null +++ b/tests/25_quicksort.expect @@ -0,0 +1,2 @@ +62 83 4 89 36 21 74 37 65 33 96 38 53 16 74 55 +4 16 21 33 36 37 38 53 55 62 65 74 74 83 89 96