public void AtomicCompareExchangeMutatesValueIfComparandEqualsCurrentValue() { _volatile.AtomicCompareExchange(NewValue, InitialValue); Assert.AreEqual(NewValue, _volatile.ReadUnfenced()); }