From 9919613c501b6309c3cb748ad12b6b7c52c2aac4 Mon Sep 17 00:00:00 2001 From: Stefan Hahmann Date: Mon, 6 Nov 2023 14:35:43 +0100 Subject: [PATCH] Add a basic test for the CustomizedClusterComponent --- .../ui/CustomizedClusterComponentTest.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/test/java/org/mastodon/mamut/clustering/ui/CustomizedClusterComponentTest.java diff --git a/src/test/java/org/mastodon/mamut/clustering/ui/CustomizedClusterComponentTest.java b/src/test/java/org/mastodon/mamut/clustering/ui/CustomizedClusterComponentTest.java new file mode 100644 index 000000000..fa3377faf --- /dev/null +++ b/src/test/java/org/mastodon/mamut/clustering/ui/CustomizedClusterComponentTest.java @@ -0,0 +1,20 @@ +package org.mastodon.mamut.clustering.ui; + +import com.apporiented.algorithm.clustering.Cluster; +import org.junit.Test; + +import java.awt.Color; + +import static org.junit.Assert.assertNotNull; + +public class CustomizedClusterComponentTest +{ + + @Test + public void testCustomizedClusterComponent() + { + Cluster cluster = null; + CustomizedClusterComponent customizedClusterComponent = new CustomizedClusterComponent( cluster, true, null, Color.BLUE ); + assertNotNull( customizedClusterComponent ); + } +}