public void TestAtomicBool() { var b = AtomicBool.From(true); Assert.True(b.Value); Assert.True(b.CompareExchange(false, true)); Assert.False(b.Value); Assert.True(b.Exchange(true)); Assert.True(b.Value); Assert.True(b); }