diff options
Diffstat (limited to 'ext/spl/tests/SplHeap_isEmpty.phpt')
-rw-r--r-- | ext/spl/tests/SplHeap_isEmpty.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/spl/tests/SplHeap_isEmpty.phpt b/ext/spl/tests/SplHeap_isEmpty.phpt new file mode 100644 index 0000000..e179dbc --- /dev/null +++ b/ext/spl/tests/SplHeap_isEmpty.phpt @@ -0,0 +1,15 @@ +--TEST-- +Check that SplHeap::isEmpty standard success test +--CREDITS-- +PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) +--FILE-- +<?php + +$h = new SplMaxHeap(); + +var_dump($h->isEmpty()); + +?> +--EXPECTF-- +bool(true) + |