@Test
public void testCompareTo() {
DAPVariable dapVariable2 = new DAPVariable(vName, vType, vDataType, vDimensions);
DAPVariable dapVariable3 = new DAPVariable("zzzzzzName", vType, vDataType, vDimensions);
DAPVariable dapVariable4 = new DAPVariable("ZzzzzzName", vType, vDataType, vDimensions);
DAPVariable dapVariable5 = new DAPVariable("aAAnotherName", vType, vDataType, vDimensions);
DAPVariable dapVariable6 = new DAPVariable("AAAnotherName", vType, vDataType, vDimensions);
DAPVariable dapVariable7 = new DAPVariable(vName, vType, vDataType, new DArrayDimension[0]);
assertEquals(0, dapVariable.compareTo(dapVariable2));
assertEquals(-1, dapVariable.compareTo(dapVariable3));
assertEquals(-1, dapVariable.compareTo(dapVariable4));
assertEquals(1, dapVariable.compareTo(dapVariable5));
assertEquals(1, dapVariable.compareTo(dapVariable6));
assertEquals(1, dapVariable.compareTo(dapVariable7));
}