NUnit.Framework.Assert.Greater(uint, uint)

Here are the examples of the csharp api class NUnit.Framework.Assert.Greater(uint, uint) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

9 Examples 7

1. Example

Project: WinRT.NET
Source File: AsyncInfoTests.cs
View license
public void GetNextInfoId_Max()
		{
			uint lastId = AsyncInfo.GetNextInfoId();
			ulong count = UInt32.MaxValue - lastId;
			for (ulong i = 0; i < count; ++i)
			{
				uint next = AsyncInfo.GetNextInfoId();
				Assert.Greater (next, lastId);
				lastId = next;
			}

			Assert.AreEqual (1, AsyncInfo.GetNextInfoId());
		}

2. Example

Project: DReAM
Source File: NumericTests.cs
View license
[Test]
        public void ToInt_for_large_uint_gets_capped_at_max_value() {
            var large = (uint)int.MaxValue + 1000;
            Assert.Greater(large, int.MaxValue);
            Assert.AreEqual(int.MaxValue, large.ToInt());
        }

3. Example

Project: ContinuousTests
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}

4. Example

Project: ContinuousTests
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}

5. Example

Project: ContinuousTests
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}

6. Example

Project: nunit
Source File: GreaterFixture.cs
View license
[Test]
        public void Greater()
        {
            Assert.Greater(i1,i2);
            Assert.Greater(u1,u2);
            Assert.Greater(l1,l2);
            Assert.Greater(ul1,ul2);
            Assert.Greater(d1,d2, "double");
            Assert.Greater(de1,de2, "{0}", "decimal");
            Assert.Greater(f1,f2, "float");
        }

7. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}

8. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}

9. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void Greater()
		{
			Assert.Greater(i1,i2);
			Assert.Greater(u1,u2);
			Assert.Greater(l1,l2);
			Assert.Greater(ul1,ul2);
			Assert.Greater(d1,d2, "double");
			Assert.Greater(de1,de2, "{0}", "decimal");
			Assert.Greater(f1,f2, "float");
		}