Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
  • Loading branch information
yunfeiyanggzq committed May 24, 2020
1 parent 9e34099 commit 713a71a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ public class Tuple2Test {

@Test
public void testSwap() {
Tuple2 expected = new Tuple2(2, 1);
Tuple2 tupleOld = new Tuple2(1, 2);
Tuple2 tupleNew = tupleOld.swap();
Assert.assertEquals(expected, tupleNew);
Assert.assertEquals(new Tuple2(2, 1), tupleNew);
}
}

0 comments on commit 713a71a

Please sign in to comment.