JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling
Class DutyCycleConstraintTest

java.lang.Object
  extended byTestCase
      extended bygov.nasa.javaGenes.EOSscheduling.DutyCycleConstraintTest

public class DutyCycleConstraintTest
extends TestCase

RESTRICTION: the dutyCylce constraint assumes that the task duration is equal to the access window -- i.e, there is no point in trying to move the task around in time. This was done to simplify implementation since the more general case may never be an issue for this project.

See Also:
Serialized Form

Constructor Summary
DutyCycleConstraintTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
 void testDefinitelyFits()
           
 void testDurationBucketCalcs()
           
 void testFastVsSlowBug()
           
 void testFits()
           
 void testGetIndex()
           
 void testInsertAtAndInitialize()
           
 void testOkBackward()
           
 void testOkForward()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DutyCycleConstraintTest

public DutyCycleConstraintTest(java.lang.String name)
Method Detail

setUp

protected void setUp()

testFastVsSlowBug

public void testFastVsSlowBug()

testDefinitelyFits

public void testDefinitelyFits()

testInsertAtAndInitialize

public void testInsertAtAndInitialize()

testDurationBucketCalcs

public void testDurationBucketCalcs()

testGetIndex

public void testGetIndex()

testFits

public void testFits()

testOkBackward

public void testOkBackward()

testOkForward

public void testOkForward()

JavaGenes, NASA Ames. Written largely by Al Globus