Permalink
Browse files

adding test case for reconfig pairs

  • Loading branch information...
Rebecca Taft
Rebecca Taft committed Mar 14, 2014
1 parent 648d965 commit 86e5e83aac165f5389eb3d027a6041a1b3d9b731
@@ -24,6 +24,18 @@
private File json_path2;
@Test
public void testReconfigurationPair() throws Exception{
ReconfigurationPair pair1 = new ReconfigurationPair(1,2);
ReconfigurationPair pair2 = new ReconfigurationPair(2,1);
ReconfigurationPair pair3 = new ReconfigurationPair(1,3);
ReconfigurationPair pair4 = new ReconfigurationPair(1,2);
assertTrue(pair1 < pair2);
assertTrue(pair1 > pair3);
assertTrue(pair1.equals(pair4));
assertFalse(pair2.equals(pair3));
}
/**
*
*/

0 comments on commit 86e5e83

Please sign in to comment.