Disabled test to find optimum due it is not a necessary test and was only for class exercise

This commit is contained in:
Niklas Birk 2021-12-10 01:08:59 +01:00
parent 24c9e0b247
commit 1842ade5c0

View File

@ -3,6 +3,7 @@ package machine_learning.nearest_neighbour;
import machine_learning.DataClass; import machine_learning.DataClass;
import machine_learning.Vector; import machine_learning.Vector;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance;
import org.opentest4j.AssertionFailedError; import org.opentest4j.AssertionFailedError;
@ -113,6 +114,7 @@ class KNearestNeighbourTest
} }
@Disabled("Takes long")
@Test @Test
public void shouldReturnOptimum() public void shouldReturnOptimum()
{ {