basic type test
authorMichael Wallner <mike@php.net>
Tue, 7 Dec 2021 15:07:52 +0000 (16:07 +0100)
committerMichael Wallner <mike@php.net>
Tue, 7 Dec 2021 15:07:52 +0000 (16:07 +0100)
tests/Type.phpt [new file with mode: 0644]

diff --git a/tests/Type.phpt b/tests/Type.phpt
new file mode 100644 (file)
index 0000000..df12583
--- /dev/null
@@ -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