public void BasicTest() { var resolver = new OperatingSystemResolver(); var detectedOS = resolver.Detect(); Assert.NotEqual(OperatingSystemKind.Unknown, detectedOS); }
public void ResolverMatchesOsInfo() { var resolver = new OperatingSystemResolver(); var detectedOS = resolver.Detect(); var osInfo = new OperatingSystemInfo(); Assert.Equal(detectedOS, osInfo.Platform); }