From 643cd1d336b479ffb9cc49e5d75033afa35ff061 Mon Sep 17 00:00:00 2001
From: Younis <nida.younis@hft-stuttgart.de>
Date: Tue, 24 Sep 2024 12:44:07 +0000
Subject: [PATCH] Add new file BubblesortTest

---
 BubbleSortTest | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 BubbleSortTest

diff --git a/BubbleSortTest b/BubbleSortTest
new file mode 100644
index 0000000..0b7ee9b
--- /dev/null
+++ b/BubbleSortTest
@@ -0,0 +1,29 @@
+import static org.junit.Assert.assertArrayEquals;
+import org.junit.Test;
+
+public class BubbleSortTest{
+
+    @Test
+    public void testBubbleSortStudent1() {
+        int[] inputArray = {5, 90, 35, 150, 45, 3};
+        int[] expectedOutput = {3, 5, 35, 45, 90, 150};
+        BubbleSortStudent1.sort(inputArray);
+        assertArrayEquals(expectedOutput, inputArray);
+    }
+
+    @Test
+    public void testBubbleSortStudent2() {
+        int[] inputArray = {5, 90, 35, 150, 45, 3};
+        int[] expectedOutput = {3, 5, 35, 45, 90, 150};
+        BubbleSortStudent2.sort(inputArray);
+        assertArrayEquals(expectedOutput, inputArray);
+    }
+
+    @Test
+    public void testBubbleSortStudent3() {
+        int[] inputArray = {5, 90, 35, 150, 45, 3};
+        int[] expectedOutput = {3, 5, 35, 45, 90, 150};
+        BubbleSortStudent3.sort(inputArray);
+        assertArrayEquals(expectedOutput, inputArray);
+    }
+}
-- 
GitLab