NUnit.Framework.Assert.GreaterOrEqual(long, long)

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

8 Examples 7

1. Example

View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

2. Example

View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

3. Example

View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

4. Example

Project: nunit
Source File: GreaterEqualFixture.cs
View license
[Test]
        public void GreaterOrEqual_Long()
        {
            Assert.GreaterOrEqual(l1, l1);
            Assert.GreaterOrEqual(l1, l2);
        }

5. Example

Project: AutoTest.Net
Source File: GreaterEqualFixture.cs
View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

6. Example

Project: AutoTest.Net
Source File: GreaterEqualFixture.cs
View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

7. Example

Project: AutoTest.Net
Source File: GreaterEqualFixture.cs
View license
[Test]
		public void GreaterOrEqual_Long()
		{
			Assert.GreaterOrEqual(l1, l1);
			Assert.GreaterOrEqual(l1, l2);
		}

8. Example

View license
[Test]
    public void TestStopwatch()
    {
        var type = assembly.GetType("MethodTimer.Stopwatch");
        var instance = Activator.CreateInstance(type);
        Thread.Sleep(1.Seconds());

        var methodInformations = type.UnderlyingSystemType.GetMethods();

        methodInformations.First(x => x.Name == "Stop")
            .Invoke(instance, null);

        var elapsed = (long) methodInformations.First(x => x.Name == "GetElapsedMilliseconds")
            .Invoke(instance, null);
        Assert.GreaterOrEqual(elapsed, 1000);
    }