org.scalabench.plugins.dacapo.util
Class SizeNameComparatorTest
java.lang.Object
org.scalabench.plugins.dacapo.util.SizeNameComparatorTest
public class SizeNameComparatorTest
- extends Object
|
Method Summary |
void |
testSymmetryAndReflexivity()
Ensure that sgn(compare(x, y)) == -sgn(compare(y, x)) for all x and y. |
void |
testTransitivity()
Ensure that the relation is transitive: ((compare(x, y) > 0) && (compare(y, z) > 0)) implies compare(x, z) > 0. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizeNameComparatorTest
public SizeNameComparatorTest()
testSymmetryAndReflexivity
public void testSymmetryAndReflexivity()
- Ensure that sgn(compare(x, y)) == -sgn(compare(y, x)) for all x and y.
- See Also:
Comparator.compare(Object, Object)
testTransitivity
public void testTransitivity()
- Ensure that the relation is transitive: ((compare(x, y) > 0) && (compare(y, z) > 0)) implies compare(x, z) > 0.
- See Also:
Comparator.compare(Object, Object)
Copyright © 2010-2012 Technische Universität Darmstadt. All Rights Reserved.