2 references to _systemResources
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
ResourceUtilizationTests.cs (2)
20
var utilization = new ResourceUtilization(CpuPercentage, MemoryUsed,
_systemResources
);
33
Assert.Throws<ArgumentOutOfRangeException>(() => new ResourceUtilization(-50.0, 500,
_systemResources
));