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

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

10 Examples 7

1. Example

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

2. Example

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

3. Example

Project: libpalaso
Source File: ErrorReportingTests.cs
View license
[Test]
		public void GetMemoryInformation_ReturnsMemoryInformation()
		{
			var memInfo = MemoryManagement.GetMemoryInformation();
			Assert.Greater(memInfo.TotalPhysicalMemory, 0);
			Assert.Greater(memInfo.TotalVirtualMemory, 0);
		}

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: 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");
		}

7. 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");
        }

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");
		}

10. 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");
		}