예제 #1
0
        public void NumericProperties_Deny_Unrestricted()
        {
            HttpBrowserCapabilities cap = new NumericHttpBrowserCapabilities();

            // int
            Assert.AreEqual(1, cap.MajorVersion, "MajorVersion");
            // double
            Assert.AreEqual(1, cap.MinorVersion, "MinorVersion");
        }
예제 #2
0
		public void NumericProperties_Deny_Unrestricted ()
		{
			HttpBrowserCapabilities cap = new NumericHttpBrowserCapabilities ();
			// int
			Assert.AreEqual (1, cap.MajorVersion, "MajorVersion");
			// double
			Assert.AreEqual (1, cap.MinorVersion, "MinorVersion");
		}