Range value2 = new Range(new SimpleNumeric(6.0), new SimpleNumeric(8.0));
Range value3 = new Range(new SimpleNumeric(3.0), new SimpleNumeric(8.0));
Range value4 = new Range(new SimpleNumeric(7.0), new SimpleNumeric(12.0));
Range value5 = new Range(new SimpleNumeric(2.0), new SimpleNumeric(5.0));
Range value6 = new Range(new SimpleNumeric(10.0), new SimpleNumeric(12.0));
Type type = createTypeWithDomain(Arrays.<Value>asList(range, value, value2,
value3, value4, value5, value6,new SimpleSymbolic("value5", 5), new SimpleSymbolic("value10",10)));
SetValue result = (SetValue) range.except(value, type);
assertTrue(result.values.get(0).eq(new Range(new SimpleNumeric(4.0), true, new SimpleNumeric(5.0),false), type));
assertTrue(result.values.get(1).eq(new Range(new SimpleNumeric(10.0), false, new SimpleNumeric(18.0),true), type));