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

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

2 Examples 7

1. Example

Project: nhibernate-core
Source File: SumTests.cs
View license
[Test]
		public async Task SumDecimalAsync()
		{
			decimal total = await (db.OrderLines.SumAsync(ol => ol.Discount));
			Assert.Greater(total, 0);
		}

2. Example

Project: nhibernate-core
Source File: SumTests.cs
View license
[Test]
		public void SumDecimal()
		{
			decimal total = db.OrderLines.Sum(ol => ol.Discount);
			Assert.Greater(total, 0);
		}