generate constraint system tests

more tests added
This commit is contained in:
Svetlana Isakova
2014-01-24 21:09:51 +04:00
parent 791fa22abb
commit 9832676701
27 changed files with 593 additions and 27 deletions
@@ -0,0 +1,18 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T String
type parameter bounds:
T <: jet.Int(SPECIAL), >: jet.String(SPECIAL)
status:
-hasConflictingConstraints: true
-hasContradiction: true
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=???
@@ -0,0 +1,18 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T Int
type parameter bounds:
T <: jet.Int(SPECIAL), >: jet.Int(SPECIAL)
status:
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=jet.Int
@@ -0,0 +1,17 @@
VARIABLES T
SUBTYPE List<T> Int
type parameter bounds:
T
status:
-hasConflictingConstraints: false
-hasContradiction: true
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: true
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=???
@@ -0,0 +1,17 @@
VARIABLES T
SUBTYPE Any Any
type parameter bounds:
T
status:
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=???
@@ -0,0 +1,18 @@
VARIABLES T
SUBTYPE T Int
SUBTYPE T String !
type parameter bounds:
T <: jet.Int(SPECIAL), <: jet.String(TYPE_BOUND_POSITION(0))
status:
-hasConflictingConstraints: true
-hasContradiction: true
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: true
-isSuccessful: false
result:
T=???