diff --git a/tests/02_collections.claro b/tests/02_collections.claro new file mode 100644 index 0000000..339ef23 --- /dev/null +++ b/tests/02_collections.claro @@ -0,0 +1,11 @@ +SET items TO LIST +ADD "milk" TO items +ADD "bread" TO items +COUNT items AS n +SAY n +GET items AT 1 AS first +SAY first +SET person TO MAP +PUT "name" AS "Alex" INTO person +GET person KEY "name" AS nm +SAY nm