From a7a8f118288e987c69f476206225198d934a2446 Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Tue, 14 Oct 2025 23:09:46 +0200 Subject: [PATCH] changes testcase to // --- tests/test_compile.py | 2 +- tools/make_example.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_compile.py b/tests/test_compile.py index 5a3c655..0f876c0 100644 --- a/tests/test_compile.py +++ b/tests/test_compile.py @@ -49,7 +49,7 @@ def test_compile(): c2 = CPVariable(2) #ret = function(c1, c2) - ret = [c1 / 4 + 3 * 3.6] + ret = [c1 // 4] out = [Write(r) for r in ret] diff --git a/tools/make_example.py b/tools/make_example.py index 64b642d..3c70f17 100644 --- a/tools/make_example.py +++ b/tools/make_example.py @@ -8,8 +8,7 @@ def test_compile() -> None: c1 = CPVariable(9) #ret = [c1 / 4, c1 / -4, c1 // 4, c1 // -4, (c1 * -1) // 4] - #ret = [c1 // 4] - ret = [c1 / 4 + 3 * 3.6] + ret = [c1 // 4] out = [Write(r) for r in ret]