diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-11-05 10:25:57 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-11-05 10:25:57 +0100 |
commit | aec191bc6cbb83884466800a750ecad0b37e254f (patch) | |
tree | f52fe2b9551056580c5c519fb78a3c5600e1034a /tests/php/phpt/variables/007-overloaded-operators.phpt | |
parent | af530282f530580c1ed7bc184df0a727068275e1 (diff) |
remove test framework, it never works, most of the bugs found by the test framework turn out to be caused by errors in the tests instead of errors in the real code, people complain about it all the time, and basically this whole test framework causes more problems than it solves, solves issue #215 and solves issue #221
Diffstat (limited to 'tests/php/phpt/variables/007-overloaded-operators.phpt')
-rw-r--r-- | tests/php/phpt/variables/007-overloaded-operators.phpt | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/tests/php/phpt/variables/007-overloaded-operators.phpt b/tests/php/phpt/variables/007-overloaded-operators.phpt deleted file mode 100644 index a26b1a4..0000000 --- a/tests/php/phpt/variables/007-overloaded-operators.phpt +++ /dev/null @@ -1,51 +0,0 @@ ---TEST-- -Test Php::Value overloaded operators ---DESCRIPTION-- - -Many different operators are overloaded too so that you can use a Php::Value object directly in arithmetric operations, -compare it with other variables, or send it to an output stream. - - ---SKIPIF-- -<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> ---FILEEOF-- -<?php - - -TestVariables\overloaded_op(5); -TestVariables\overloaded_op(3.14); -TestVariables\overloaded_op(12); -TestVariables\overloaded_op(120); -TestVariables\overloaded_op(-1000); -TestVariables\overloaded_op("some string"); - - - ---EXPECT-- -15 -7 -1851.75 -0.121507 -13.14 -5 -1622.13 -0.10644 -value == 12 -22 -14 -2715.9 -0.17821 -value > 100 -130 -122 -16048.5 -1.05306 --990 --998 --122216 --8.01944 -value == 'some string' -10 -2 -1234.5 -0.0810045
\ No newline at end of file |