'Merging `x > 1` and `x < 2` should produce `1 < x < 2`.'

def test_merging_lt_with_gt_continuous_rules(self):

    rule1 = ContinuousRule('Rule', True, 1)
    rule2 = ContinuousRule('Rule', False, 2)
    new_rule = rule1.merge_with(rule2)
    self.assertIsInstance(new_rule, IntervalRule)
    self.assertEqual(new_rule.left_rule, rule1)
    self.assertEqual(new_rule.right_rule, rule2)
