@@ -0,0 +1,1548 @@
+package no.ssb.vtl.model;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.api.Java6Assertions.assertThat;%0A%0Apublic class VTLObjectTest %7B%0A%0A    @Test%0A    public void testIntegerCompare() throws Exception %7B%0A%0A        VTLObject one = VTLObject.of(new Integer(1));%0A        VTLObject two = VTLObject.of(new Integer(2));%0A        VTLObject otherOne = VTLObject.of(new Integer(1));%0A%0A        assertThat(one.compareTo(two)).isLessThan(0);%0A        assertThat(two.compareTo(one)).isGreaterThan(0);%0A        assertThat(one.compareTo(otherOne)).isEqualTo(0);%0A        assertThat(otherOne.compareTo(one)).isEqualTo(0);%0A%0A    %7D%0A%0A    @Test%0A    public void testDoubleCompare() throws Exception %7B%0A%0A        VTLObject one = VTLObject.of(new Double(1));%0A        VTLObject two = VTLObject.of(new Double(2));%0A        VTLObject otherOne = VTLObject.of(new Double(1));%0A%0A        assertThat(one.compareTo(two)).isLessThan(0);%0A        assertThat(two.compareTo(one)).isGreaterThan(0);%0A        assertThat(one.compareTo(otherOne)).isEqualTo(0);%0A        assertThat(otherOne.compareTo(one)).isEqualTo(0);%0A%0A    %7D%0A%0A    @Test%0A    public void testNumberCompare() throws Exception %7B%0A%0A        VTLObject one = VTLObject.of(new Double(1));%0A        VTLObject two = VTLObject.of(new Integer(2));%0A        VTLObject otherOne = VTLObject.of(new Long(1));%0A%0A        assertThat(one.compareTo(two)).isLessThan(0);%0A        assertThat(two.compareTo(one)).isGreaterThan(0);%0A        assertThat(one.compareTo(otherOne)).isEqualTo(0);%0A        assertThat(otherOne.compareTo(one)).isEqualTo(0);%0A%0A%0A    %7D%0A%7D%0A

Add comparison tests with different number subclasses