Changed some tests to use Assert bool instead of equal.

This commit is contained in:
Harrison Deng 2021-04-08 23:57:44 -05:00
parent cfecc7c7b3
commit a9ff809ba8

View File

@ -89,7 +89,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
IService stubService = new FakeService();
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
//Then
Assert.Equal(false, serviceInfo.GetServiceState());
Assert.False(serviceInfo.GetServiceState());
}
[Fact]
@ -102,7 +102,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
//When
serviceInfo.Start();
//Then
Assert.Equal(true, serviceInfo.GetServiceState());
Assert.True(serviceInfo.GetServiceState());
serviceInfo.Stop();
}