pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
805
2008/05/
03
21
:
21
:
31
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
806
2008/05/
06
19
:
48
:
18
grubba Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
pike.git/src/testsuite.in:39:
test_true([[1.0e-40]]); test_eq([[#"foo bar"]],[["foo\nbar"]]); test_eq([[#"foo\ bar"]],[["foobar"]]); test_true([[stringp(#string "Makefile")]]); test_any([[class Bar { array(int) foo = ({}); }; class Foo { inherit Bar; array(int) foo = ({1}); }; return sizeof(Foo()->foo);]],1);
+
# __func__
+
test_eq(__func__, "a")
+
test_eq("b", __func__)
+
test_eq(8, 0b1000); test_eq(-8, -0b1000); test_eq(16, 0b10000); test_eq(-16, -0b10000); test_true(1e-100000000000000000000000000000000000000000000000000000000000<=1e-10000) test_true(1e-10000<=1e-1000) test_true(1e-1000<=1e-100) test_true(1e-100<=1e-10) test_true(1e-10<=1e-1)