Class ScoringPreferenceAggregatorTest
java.lang.Object
org.tweetyproject.preferences.test.ScoringPreferenceAggregatorTest
The class
ScoringPreferenceAggregatorTest
contains tests for the class ScoringPreferenceAggregator
.
generated by CodePro at 20.12.12 11:01- Version:
- $Revision: 1.0 $
- Author:
- Bastian Wolf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize ordersstatic void
Launch the test.static PreferenceOrder
<String> parsing the filevoid
setUp()
Perform pre-test initialization.void
tearDown()
Perform post-test clean-up.void
testing borda scoring preference aggregatorvoid
testing plurality scoring preference aggreagatorvoid
testing veto scoring preference aggregator
-
Constructor Details
-
ScoringPreferenceAggregatorTest
public ScoringPreferenceAggregatorTest()
-
-
Method Details
-
parseFile
parsing the file- Parameters:
filename
- name of the file to parse- Returns:
- the prefernce order
-
initializeOrders
public void initializeOrders()initialize orders -
testPluralityScoringPreferenceAggregator_1
-
testVetoScoringPreferenceAggregator_1
-
testBordaScoringPreferenceAggregator_1
-
setUp
-
tearDown
-
main
Launch the test.- Parameters:
args
- the command line arguments generated by CodePro at 20.12.12 11:01
-