NUnit.Framework.Assert.Greater(double, double, string)

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

16 Examples 7

1. Example

View license
public void firstLayerSpeedEqualsAcceptableValue(PrinterSettings settings, PrinterSettingsLayer layer, string sourceFile)
		{
			string firstLayerSpeedString;
			if (!layer.TryGetValue(SettingsKey.first_layer_speed, out firstLayerSpeedString))
			{
				return;
			}

			double firstLayerSpeed;
			if (firstLayerSpeedString.Contains("%"))
			{
				string infillSpeedString = settings.GetValue("infill_speed");
				double infillSpeed = double.Parse(infillSpeedString);

				firstLayerSpeedString = firstLayerSpeedString.Replace("%", "");

				double FirstLayerSpeedPercent = double.Parse(firstLayerSpeedString);

				firstLayerSpeed = FirstLayerSpeedPercent * infillSpeed / 100.0;
			}
			else
			{
				firstLayerSpeed = double.Parse(firstLayerSpeedString);
			}

			Assert.Greater(firstLayerSpeed, 5, "Unexpected firstLayerSpeedEqualsAcceptableValue value: " + sourceFile);
		}

2. Example

View license
[Test]
        public void TestWhiteGaussianNoiseIsWhite()
        {
            for(int z = 0; z &l/n ..... /n //View Source file for more details /n }

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 MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }

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 MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }

7. Example

Project: ContinuousTests
Source File: GreaterFixture.cs
View license
[Test]
		public void MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }

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

9. Example

Project: nunit
Source File: GreaterFixture.cs
View license
[Test]
        public void MixedTypes()
        {	
            Assert.Greater( 5, 3L, "int to long")/n ..... /n //View Source file for more details /n }

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

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

12. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }

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

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

15. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }

16. Example

Project: AutoTest.Net
Source File: GreaterFixture.cs
View license
[Test]
		public void MixedTypes()
		{	
			Assert.Greater( 5, 3L, "int to long");
			Assert.Greater( /n ..... /n //View Source file for more details /n }