diff --git a/lab3/src/test/java/ru/spbstu/telematics/java/AppTest.java b/lab3/src/test/java/ru/spbstu/telematics/java/AppTest.java index c601677..f68905c 100644 --- a/lab3/src/test/java/ru/spbstu/telematics/java/AppTest.java +++ b/lab3/src/test/java/ru/spbstu/telematics/java/AppTest.java @@ -1,38 +1,11 @@ package ru.spbstu.telematics.java; -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.*; -/** - * Unit test for simple App. - */ -public class AppTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); +class SampleTests { + @Test + void sampleTest() { + assertTrue(true); } }