public void Setting_the_value_updates_the_value_as_expected(double newValue) { var atomicDouble = new AtomicDouble(); atomicDouble.Set(newValue); var value = atomicDouble.Get(); value.Should().Be(newValue); }