Skip to content

Commit 7f7dbbb

Browse files
committed
Math test fixes
1 parent 9c6746a commit 7f7dbbb

17 files changed

+0
-69
lines changed

ext/standard/tests/math/acos_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/acosh_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/asin_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/asinh_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/atan_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/atanh_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/cos_variation.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,

ext/standard/tests/math/deg2rad_variation.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,
@@ -44,9 +43,6 @@ float(0.401425728)
4443
float(0.401425728)
4544
float(0.4092797096)
4645
float(0.4092797096)
47-
48-
Warning: deg2rad() expects parameter 1 to be float, string given in %s on line %d
49-
NULL
5046
float(17.45329252)
5147

5248
Notice: A non well formed numeric value encountered in %s on line %d

ext/standard/tests/math/lcg_value_basic.phpt

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,12 @@ if ($i != 100) {
2121
echo "PASSED\n";
2222
}
2323

24-
echo "\n lcg_value error cases..\n";
25-
$res = lcg_value(23);
26-
27-
if (is_null($res)) {
28-
echo "PASSED\n";
29-
} else {
30-
echo "FAILED\n";
31-
}
32-
33-
$res = lcg_value(10,false);
34-
if (is_null($res)) {
35-
echo "PASSED\n";
36-
} else {
37-
echo "FAILED\n";
38-
}
39-
4024
echo "MATHS test script completed\n";
4125

4226
?>
4327
--EXPECTF--
4428
MATHS test script started
4529

4630
lcg_value tests...
47-
PASSED
48-
49-
lcg_value error cases..
50-
51-
Warning: lcg_value() expects exactly 0 parameters, 1 given in %slcg_value_basic.php on line %d
52-
PASSED
53-
54-
Warning: lcg_value() expects exactly 0 parameters, 2 given in %slcg_value_basic.php on line %d
5531
PASSED
5632
MATHS test script completed

ext/standard/tests/math/log10_variation.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ $values = array(23,
2121
"23",
2222
"23.45",
2323
"2.345e1",
24-
"nonsense",
2524
"1000",
2625
"1000ABC",
2726
null,
@@ -44,9 +43,6 @@ float(1.361727836)
4443
float(1.361727836)
4544
float(1.370142847)
4645
float(1.370142847)
47-
48-
Warning: log10() expects parameter 1 to be float, string given in %s on line %d
49-
NULL
5046
float(3)
5147

5248
Notice: A non well formed numeric value encountered in %s on line %d

0 commit comments

Comments
 (0)