Create generic ThreadSafeValue
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Meade.net.UnitTests
|
||||
public void When_Assigned_ThenValueIsSame(bool value)
|
||||
{
|
||||
// given
|
||||
ThreadSafeBool sut = value;
|
||||
ThreadSafeValue<bool> sut = value;
|
||||
|
||||
// when
|
||||
bool actual = sut;
|
||||
@@ -26,7 +26,7 @@ namespace Meade.net.UnitTests
|
||||
public void When_SetValue_ThenValueIsUpdated(bool initialValue, bool setValue)
|
||||
{
|
||||
// given
|
||||
ThreadSafeBool sut = initialValue;
|
||||
ThreadSafeValue<bool> sut = initialValue;
|
||||
|
||||
// when
|
||||
sut.Set(setValue);
|
||||
|
||||
Reference in New Issue
Block a user