Skip to content

Commit

Permalink
Add small test
Browse files Browse the repository at this point in the history
  • Loading branch information
julianmendez committed Dec 28, 2023
1 parent a767210 commit 7c1b9ce
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jproblog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
<version>0.2.0</version>
<packaging>jar</packaging>

<dependencies>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>

</dependencies>

<parent>
<groupId>de.tu-dresden.inf.lat</groupId>
<artifactId>lat-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package de.tudresden.inf.lat.jproblog;


import java.io.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
* Test class for ProblogProcessor.
* @author Julian Mendez
*
*/
public class ProblogProcessorTest {

/**
* This ensures that an instance of ProblogProcessor can properly test whether Python is installed.
*/
@Test
public void testIsPythonInstalled() {
ProblogProcessor instance = new ProblogProcessor(true);
instance.isPythonInstalled();
}

}

0 comments on commit 7c1b9ce

Please sign in to comment.