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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize ordersstatic voidLaunch the test.static PreferenceOrder<String> parsing the filevoidsetUp()Perform pre-test initialization.voidtearDown()Perform post-test clean-up.voidtesting borda scoring preference aggregatorvoidtesting plurality scoring preference aggreagatorvoidtesting 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
 
 -