Package hydra.testing

Class TypeReductionTestCase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TypeReductionTestCase>

    public class TypeReductionTestCase
    extends java.lang.Object
    implements java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
      • INPUT

        public static final Name INPUT
      • OUTPUT

        public static final Name OUTPUT
      • input

        public final Type input
        The type to reduce
      • output

        public final Type output
        The expected reduced type
    • Constructor Detail

      • TypeReductionTestCase

        public TypeReductionTestCase​(Type input,
                                     Type output)