Class ScoringPreferenceAggregatorTest

java.lang.Object
org.tweetyproject.preferences.test.ScoringPreferenceAggregatorTest

public class ScoringPreferenceAggregatorTest extends Object
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 Details

    • ScoringPreferenceAggregatorTest

      public ScoringPreferenceAggregatorTest()
  • Method Details

    • parseFile

      public static PreferenceOrder<String> parseFile(String filename)
      parsing the file
      Parameters:
      filename - name of the file to parse
      Returns:
      the prefernce order
    • initializeOrders

      public void initializeOrders()
      initialize orders
    • testPluralityScoringPreferenceAggregator_1

      public void testPluralityScoringPreferenceAggregator_1() throws Exception
      testing plurality scoring preference aggreagator
      Throws:
      Exception - any exception
    • testVetoScoringPreferenceAggregator_1

      public void testVetoScoringPreferenceAggregator_1() throws Exception
      testing veto scoring preference aggregator
      Throws:
      Exception - any exception
    • testBordaScoringPreferenceAggregator_1

      public void testBordaScoringPreferenceAggregator_1() throws Exception
      testing borda scoring preference aggregator
      Throws:
      Exception - any exception
    • setUp

      public void setUp() throws Exception
      Perform pre-test initialization.
      Throws:
      Exception - if the initialization fails for some reason generated by CodePro at 20.12.12 11:01
    • tearDown

      public void tearDown() throws Exception
      Perform post-test clean-up.
      Throws:
      Exception - if the clean-up fails for some reason generated by CodePro at 20.12.12 11:01
    • main

      public static void main(String[] args)
      Launch the test.
      Parameters:
      args - the command line arguments generated by CodePro at 20.12.12 11:01