public synchronized boolean tryWriteLock() {
        if (!isFree()) {
            return false;
        } else {
            status = -1;
            return true;
        }
    }
@Test
    void testDoubleWriteLock() {
        SimpleReadWriteLock lock = new SimpleReadWriteLock();
        
        assertTrue(lock.tryWriteLock());
        assertFalse(lock.tryWriteLock());
    }