rice.pastry.testing
Class IdRangeUnit
java.lang.Object
rice.pastry.testing.IdRangeUnit
public class IdRangeUnit
- extends java.lang.Object
IdRangeUnit tests the IdRange class.
- Version:
- $Id: IdRangeUnit.java 3613 2007-02-15 14:45:14Z jstewart $
- Author:
- Peter Druschel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdRangeUnit
public IdRangeUnit()
createRandomIdRange
public IdRange createRandomIdRange()
createFullIdRange
public IdRange createFullIdRange()
createEmptyIdRange
public IdRange createEmptyIdRange()
createIdRangeStartingWith
public IdRange createIdRangeStartingWith(Id ccw)
createIdRangeEndingIn
public IdRange createIdRangeEndingIn(Id cw)
createIdWithPrefix
public Id createIdWithPrefix(byte b)
halfTest
public void halfTest()
equalityTest
public void equalityTest(IdRange r1,
IdRange r2)
mergeIntersectTest
public void mergeIntersectTest(IdRange r1,
IdRange r2)
diffSubtractTest
public void diffSubtractTest(IdRange r1,
IdRange r2)
mergeTest
public void mergeTest(IdRange r1,
IdRange r2)
main
public static void main(java.lang.String[] args)
Copyright © 2001-2005 - Rice Pastry.