Add some JavaDoc to CVDATPJUnitTest
This commit is contained in:
parent
50e9e5e219
commit
3be226d5c0
1 changed files with 7 additions and 0 deletions
|
@ -3,8 +3,15 @@ package cvdatpjunit;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.junit.jupiter.api.Assertions;
|
import org.junit.jupiter.api.Assertions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class are tests for the CVDATPJUnit class
|
||||||
|
* @author Florian Charlaix
|
||||||
|
*/
|
||||||
class CVDATPJUnitTest {
|
class CVDATPJUnitTest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function test the swapTwoLast static function
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
void swapTwoLastTest() {
|
void swapTwoLastTest() {
|
||||||
Assertions.assertEquals("BA", CVDATPJUnit.swapTwoLast("AB"));
|
Assertions.assertEquals("BA", CVDATPJUnit.swapTwoLast("AB"));
|
||||||
|
|
Reference in a new issue