Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. @Test public void maprotate() throws Exception
  2. {
  3. assertEquals(
  4. new HashMap<String, Set<String>>() {{
  5. put("ho", new HashSet<String>() {{ add("hi"); add("monk's"); }});
  6. put("rock", new HashSet<String>() {{ add("ponies"); }});
  7. }},
  8. NIH.rotate(new HashMap<String, String>() {{
  9. put("hi", "ho");
  10. put("monk's", "ho");
  11. put("ponies", "rock");
  12. }}));
  13. }
Add Comment
Please, Sign In to add comment