### Question:
CodePoints { public int size() { if (ranges.isEmpty()) return 0; CodePointRange last = ranges.get(ranges.size() - 1); return last.previousCount + last.size(); } CodePoints(); int at(int index); int size(); boolean contains(int codePoint); static CodePoints forCharset(Charset c);  }### Answer:
@Test public void sizeOfEmpty() { assertEquals(0, new CodePoints().size()); }