From 699cc8684b1571d2501bac2c8bdf461127a420a1 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 6 Oct 2024 18:07:57 +0200 Subject: Implement division --- tests/vm/add_products.elna | 3 +++ tests/vm/printi_quotient.elna | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 tests/vm/add_products.elna create mode 100644 tests/vm/printi_quotient.elna (limited to 'tests/vm') diff --git a/tests/vm/add_products.elna b/tests/vm/add_products.elna new file mode 100644 index 0000000..a5c116f --- /dev/null +++ b/tests/vm/add_products.elna @@ -0,0 +1,3 @@ +proc main() { + printi(2 * 3 + 4 * 8); +} diff --git a/tests/vm/printi_quotient.elna b/tests/vm/printi_quotient.elna new file mode 100644 index 0000000..0f30f4d --- /dev/null +++ b/tests/vm/printi_quotient.elna @@ -0,0 +1,3 @@ +proc main() { + printi(4 / 2); +} -- cgit v1.2.3