public synchronized void deleteObserver(Observer o) {
        obs.remove(o);
        observerCnt--;
    }
@Test
    void testDeleteObserver() {
        observable.addObserver(observer);
        assertEquals(1, observable.countObservers());
        observable.deleteObserver(observer);
        assertEquals(0, observable.countObservers());
    }