From 3078d312a78043aa0b633079f831457cd3ea19c5 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 28 Sep 2022 09:40:31 +0200 Subject: [PATCH] Add tests for the new functionality --- app/src/test/java/ch/nuth/zhaw/exbox/ADS1_3_test.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/test/java/ch/nuth/zhaw/exbox/ADS1_3_test.java b/app/src/test/java/ch/nuth/zhaw/exbox/ADS1_3_test.java index 414be10..ff8850f 100644 --- a/app/src/test/java/ch/nuth/zhaw/exbox/ADS1_3_test.java +++ b/app/src/test/java/ch/nuth/zhaw/exbox/ADS1_3_test.java @@ -25,5 +25,12 @@ public class ADS1_3_test { test("[(])", false); test("[(3 +3)* 35 +3]* {3 +2}", true); test("[({3 +3)* 35} +3]* {3 +2}", false); + test("(", false); + test(")", false); + test("<(<>)>", true); + test("<(<)>>", false); + test("/* hallo */", true); + test("/*/* */", false); + test("/*", false); } }