@Test public void txn_basic_02() {

    long x = 
        Txn.calculateRead(counter, () -> {
            assertEquals("In R, value()", 0, counter.value()) ;
            assertEquals("In R, get()", 0, counter.get()) ;
            return counter.get() ;
        }) ;
    assertEquals("Outside R", 0, x) ;
}