public void A_timer_based_write_lock_should_be_allowed() { bool locked = _value.WriteLock(1.Seconds(), x => _finalValue); Assert.IsTrue(locked); //Assert.That(locked, Is.True); _value.ReadUnlocked(y => Assert.AreEqual(_finalValue, y)); }
public void A_timer_based_write_lock_should_be_allowed() { bool locked = _value.WriteLock(1.Seconds(), x => _finalValue); Assert.IsTrue(locked); //Assert.That(locked, Is.True); _value.ReadUnlocked(y => Assert.AreEqual(_finalValue, y)); }