()
| 76 | |
| 77 | // Assumes `get` and `containsKey` are implemented properly. |
| 78 | @Test |
| 79 | public void sanityPutTest() { |
| 80 | BSTMap<String, Integer> b = new BSTMap<>(); |
| 81 | b.put("hi", 1); |
| 82 | assertThat(b.containsKey("hi")).isTrue(); |
| 83 | assertThat(b.get("hi")).isEqualTo(1); |
| 84 | } |
| 85 | |
| 86 | // Assumes `put` is implemented properly. This test is a bit tricky - remember that |
| 87 | // `containsKey` should only care about the keys, not the values! |
nothing calls this directly
no test coverage detected