from ee import EeVal def test_ordering(): p100 = EeVal('100 p') n100 = EeVal('100 n') u1 = EeVal('1u') assert n100 > p100 assert p100 < n100 assert [p100, n100, u1] == sorted([p100, u1, n100])