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 B
SUPERTYPE T A
type parameter bounds:
T <: B(SPECIAL), >: A(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 A
SUBTYPE T B
type parameter bounds:
T <: A(SPECIAL), <: B(SPECIAL)
status:
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=B
@@ -0,0 +1,18 @@
VARIABLES T
SUBTYPE T A
SUPERTYPE T C
type parameter bounds:
T <: A(SPECIAL), >: C(SPECIAL)
status:
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=C
@@ -0,0 +1,19 @@
VARIABLES T
SUBTYPE T A
SUPERTYPE T B
SUPERTYPE T C
type parameter bounds:
T <: A(SPECIAL), >: B(SPECIAL), >: C(SPECIAL)
status:
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=B