}
@Test
public void testNumbers() throws Exception {
// test boolean
createLiteralRule( new ExprConstraintDescr( "booleanPrimitive == true ") );
// test boolean
createLiteralRule( new ExprConstraintDescr( "booleanPrimitive == false ") );
// test char
createLiteralRule( new ExprConstraintDescr( "charPrimitive == 'a' ") );
createLiteralRule( new ExprConstraintDescr( "charPrimitive == \"a\" ") );
// test byte
createLiteralRule( new ExprConstraintDescr( "bytePrimitive == 1 ") );
createLiteralRule( new ExprConstraintDescr( "bytePrimitive == 0 ") );
createLiteralRule( new ExprConstraintDescr( "bytePrimitive == -1 ") );
// test short
createLiteralRule( new ExprConstraintDescr( "shortPrimitive == 1 ") );
createLiteralRule( new ExprConstraintDescr( "shortPrimitive == 0 ") );
createLiteralRule( new ExprConstraintDescr( "shortPrimitive == -1 ") );
// test int
createLiteralRule( new ExprConstraintDescr( "intPrimitive == 1") );
createLiteralRule( new ExprConstraintDescr( "intPrimitive == 0") );
createLiteralRule( new ExprConstraintDescr( "intPrimitive == -1") );
// test long
createLiteralRule( new ExprConstraintDescr( "longPrimitive == 1") );
createLiteralRule( new ExprConstraintDescr( "longPrimitive == 0") );
createLiteralRule( new ExprConstraintDescr( "longPrimitive == -1") );
// test float
createLiteralRule( new ExprConstraintDescr( "floatPrimitive == 1.1") );
createLiteralRule( new ExprConstraintDescr( "floatPrimitive == 0") );
createLiteralRule( new ExprConstraintDescr( "floatPrimitive == -1.1") );
// test double
createLiteralRule( new ExprConstraintDescr( "doublePrimitive == 1.1") );
createLiteralRule( new ExprConstraintDescr( "doublePrimitive == 0") );
createLiteralRule( new ExprConstraintDescr( "doublePrimitive == -1.1") );
}