Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final int FIRST_VALUE = 1;
- final int LAST_VALUE = 3653;
- @Test
- public void test() {
- Map map = new Map();
- Key key = new Key();
- map.set(key, LAST_VALUE);
- assertThat(map.get(key)).isEqualTo(LAST_VALUE);
- map.set(key, FIRST_VALUE);
- assertThat(map.get(key)).isEqualTo(FIRST_VALUE);
- }
Advertisement
Add Comment
Please, Sign In to add comment