()
| 7 | public class TestBSTMap { |
| 8 | |
| 9 | @Test |
| 10 | public void sanityGenericsTest() { |
| 11 | try { |
| 12 | BSTMap<String, String> a = new BSTMap<>(); |
| 13 | BSTMap<String, Integer> b = new BSTMap<>(); |
| 14 | BSTMap<Integer, String> c = new BSTMap<>(); |
| 15 | BSTMap<Boolean, Integer> e = new BSTMap<>(); |
| 16 | } catch (Exception e) { |
| 17 | fail(); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | // This test assumes put/size/containsKey/get are implemented properly. |
| 22 | @Test |
nothing calls this directly
no outgoing calls
no test coverage detected