From 23c162d5246115b5603b771065252f9870cfcaf5 Mon Sep 17 00:00:00 2001 From: David Hermann Date: Mon, 6 Feb 2023 11:36:56 +0100 Subject: [PATCH] unittest: Created test for important color codes --- src/test/java/org/bitbiome/classes/ColorsTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/java/org/bitbiome/classes/ColorsTest.java diff --git a/src/test/java/org/bitbiome/classes/ColorsTest.java b/src/test/java/org/bitbiome/classes/ColorsTest.java new file mode 100644 index 0000000..21069bb --- /dev/null +++ b/src/test/java/org/bitbiome/classes/ColorsTest.java @@ -0,0 +1,13 @@ +package org.bitbiome.classes; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import org.junit.jupiter.api.Test; + +public class ColorsTest { + + @Test + public void testResetCode() { + assertEquals("\u001B[0m", Colors.ANSI_RESET); + } +}