Package hydra.testing
Class TypeReductionTestCase
java.lang.Object
hydra.testing.TypeReductionTestCase
- All Implemented Interfaces:
Serializable,Comparable<TypeReductionTestCase>
public class TypeReductionTestCase
extends Object
implements Serializable, Comparable<TypeReductionTestCase>
A test case which performs beta reduction on a type (reducing type applications) and compares the result with the expected type
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(TypeReductionTestCase other) booleaninthashCode()withOutput(Type output)
-
Field Details
-
TYPE_
-
INPUT
-
OUTPUT
-
input
The type to reduce -
output
The expected reduced type
-
-
Constructor Details
-
TypeReductionTestCase
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TypeReductionTestCase>
-
withInput
-
withOutput
-