projects
/
awesomized
/
ext-ion
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
276e395
)
basic type test
author
Michael Wallner
<mike@php.net>
Tue, 7 Dec 2021 15:07:52 +0000
(16:07 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 7 Dec 2021 15:07:52 +0000
(16:07 +0100)
tests/Type.phpt
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/Type.phpt
b/tests/Type.phpt
new file mode 100644
(file)
index 0000000..
df12583
--- /dev/null
+++ b/
tests/Type.phpt
@@ -0,0
+1,18
@@
+--TEST--
+ion\Type
+--EXTENSIONS--
+ion
+--FILE--
+TEST
+<?php
+var_dump(ion\Type::Null);
+var_dump(ion\Type::Decimal->name);
+var_dump(ion\Type::EOF->value);
+?>
+DONE
+--EXPECT--
+TEST
+enum(ion\Type::Null)
+string(7) "Decimal"
+int(-256)
+DONE