Package org.tweetyproject.arg.dung
Class ProboTest
java.lang.Object
org.tweetyproject.arg.dung.ProboTest
Tests parsing and writing functionalities for different formats of Dung's argumentation frameworks
using the AbstractDungParser and AbstractDungWriter within the TweetyProject framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPrepares and parses argumentation frameworks from files in different formats (TGF and APX), then asserts correct parsing by checking the number of attacks and nodes.voidTests the functionality of the AbstractDungWriter to ensure it correctly formats arguments into a string based on a DungTheory object.
-
Constructor Details
-
ProboTest
public ProboTest()
-
-
Method Details
-
ParserTest
Prepares and parses argumentation frameworks from files in different formats (TGF and APX), then asserts correct parsing by checking the number of attacks and nodes.- Throws:
Exception- if the file paths are incorrect or files are not readable.
-
WriterTest
Tests the functionality of the AbstractDungWriter to ensure it correctly formats arguments into a string based on a DungTheory object.- Throws:
Exception- if there are issues creating the writer or writing the data.
-