Пример #1
0
        public void EdgeChromium_OSX()
        {
            var isEdgeChromiun = EdgeChromium.TryParse(UserAgents.EdgeChromiumOsx, out var edgeChromium);

            Assert.True(isEdgeChromiun);
            Assert.Equal(DeviceTypes.Desktop, edgeChromium.DeviceType);
            Assert.Equal(OperatingSystems.MacOSX, edgeChromium.OS);
        }
Пример #2
0
        public void EdgeChromium_Windows()
        {
            var isFireFox = EdgeChromium.TryParse(UserAgents.EdgeChrome_Windows, out var firefox);

            Assert.True(isFireFox);
            Assert.Equal(DeviceTypes.Desktop, firefox.DeviceType);
            Assert.Equal(OperatingSystems.Windows, firefox.OS);
        }
Пример #3
0
        public void EdgeChromium_Windows()
        {
            var isEdgeChromium = EdgeChromium.TryParse(UserAgents.EdgeChromeWindows, out var edgeChromium);

            Assert.True(isEdgeChromium);
            Assert.Equal(DeviceTypes.Desktop, edgeChromium.DeviceType);
            Assert.Equal(OperatingSystems.Windows, edgeChromium.OS);
        }