Package net.sf.tweety.preferences.test
Class ScoringPreferenceAggregatorTest
- java.lang.Object
-
- net.sf.tweety.preferences.test.ScoringPreferenceAggregatorTest
-
public class ScoringPreferenceAggregatorTest extends java.lang.Object
The classScoringPreferenceAggregatorTest
contains tests for the class
.ScoringPreferenceAggregator
- Version:
- $Revision: 1.0 $
- Author:
- Bastian Wolf
-
-
Constructor Summary
Constructors Constructor Description ScoringPreferenceAggregatorTest()
-
Method Summary
Modifier and Type Method Description void
initializeOrders()
static void
main(java.lang.String[] args)
Launch the test.static PreferenceOrder<java.lang.String>
parseFile(java.lang.String filename)
void
setUp()
Perform pre-test initialization.void
tearDown()
Perform post-test clean-up.void
testBordaScoringPreferenceAggregator_1()
void
testPluralityScoringPreferenceAggregator_1()
void
testVetoScoringPreferenceAggregator_1()
-
-
-
Method Detail
-
parseFile
public static PreferenceOrder<java.lang.String> parseFile(java.lang.String filename)
-
initializeOrders
public void initializeOrders()
-
testPluralityScoringPreferenceAggregator_1
public void testPluralityScoringPreferenceAggregator_1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testVetoScoringPreferenceAggregator_1
public void testVetoScoringPreferenceAggregator_1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBordaScoringPreferenceAggregator_1
public void testBordaScoringPreferenceAggregator_1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setUp
public void setUp() throws java.lang.Exception
Perform pre-test initialization.- Throws:
java.lang.Exception
- if the initialization fails for some reason
-
tearDown
public void tearDown() throws java.lang.Exception
Perform post-test clean-up.- Throws:
java.lang.Exception
- if the clean-up fails for some reason
-
main
public static void main(java.lang.String[] args)
Launch the test.- Parameters:
args
- the command line arguments
-
-