Class ScoringPreferenceAggregatorTest

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

public class ScoringPreferenceAggregatorTest extends Object
The class ScoringPreferenceAggregatorTest contains tests for the class ScoringPreferenceAggregator.
Version:
$Revision: 1.0 $
Author:
Bastian Wolf
  • Constructor Details

    • ScoringPreferenceAggregatorTest

      public ScoringPreferenceAggregatorTest()
  • Method Details

    • parseFile

      public static PreferenceOrder<String> parseFile(String filename)
    • initializeOrders

      public void initializeOrders()
    • testPluralityScoringPreferenceAggregator_1

      public void testPluralityScoringPreferenceAggregator_1() throws Exception
      Throws:
      Exception
    • testVetoScoringPreferenceAggregator_1

      public void testVetoScoringPreferenceAggregator_1() throws Exception
      Throws:
      Exception
    • testBordaScoringPreferenceAggregator_1

      public void testBordaScoringPreferenceAggregator_1() throws Exception
      Throws:
      Exception
    • setUp

      public void setUp() throws Exception
      Perform pre-test initialization.
      Throws:
      Exception - if the initialization fails for some reason
    • tearDown

      public void tearDown() throws Exception
      Perform post-test clean-up.
      Throws:
      Exception - if the clean-up fails for some reason
    • main

      public static void main(String[] args)
      Launch the test.
      Parameters:
      args - the command line arguments