p3j.simulation.assignments.exhaustive
Class TestSetManager

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by p3j.simulation.assignments.exhaustive.TestSetManager
All Implemented Interfaces:
junit.framework.Test

public class TestSetManager
extends junit.framework.TestCase

Test for the SetManager.

Author:
Christina Bohk, Roland Ewald

Field Summary
protected  ParameterInstance instance1
          The first parameter instance.
protected  ParameterInstance instance2
          The second parameter instance.
protected static double probFirst
          The probability of the first assignment.
protected static double probSecond
          The probability of the second assignment (have to sum up to 1).
protected  Set set
          The test set.
protected  SetType setType
          The test Settype.
 
Constructor Summary
TestSetManager()
           
 
Method Summary
 void setUp()
           
 void testSetManager()
          Test set manager.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

probFirst

protected static final double probFirst
The probability of the first assignment. Has to be larger or equal than 0.5.

See Also:
Constant Field Values

probSecond

protected static final double probSecond
The probability of the second assignment (have to sum up to 1).

See Also:
Constant Field Values

instance1

protected final ParameterInstance instance1
The first parameter instance.


instance2

protected final ParameterInstance instance2
The second parameter instance.


setType

protected final SetType setType
The test Settype.


set

protected final Set set
The test set.

Constructor Detail

TestSetManager

public TestSetManager()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testSetManager

public void testSetManager()
Test set manager.



Copyright © 2012. All Rights Reserved.