NUnit.Framework.Assert.That(ref double, IResolveConstraint, string, params object[])

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

8 Examples 7

1. Example

Project: iOS4Unity
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual, string message, params object[] args)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), message, args);
        }

2. Example

Project: iOS4Unity
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual, string message)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), message, null);
        }

3. Example

Project: iOS4Unity
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), null, null);
        }

4. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), null, null);
        }

5. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual, string message, params object[] args)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), message, args);
        }

6. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
public static void AreNotEqual(double expected, double actual, string message)
        {
            Assert.That(actual, Is.Not.EqualTo(expected), message, null);
        }

7. Example

Project: iOS4Unity
Source File: Assert.cs
View license
protected static void AssertDoublesAreEqual(double expected, double actual, double delta, string message, object[] args)
        {
            if (double.IsNaN(expected) || double.IsInfinity(expected))
                Assert.That(actual, Is.EqualTo(expected), message, args);
            else
                Assert.That(actual, Is.EqualTo(expected).Within(delta), message, args);
        }

8. Example

Project: nunit-unity3d
Source File: Assert.cs
View license
protected static void AssertDoublesAreEqual(double expected, double actual, double delta, string message, object[] args)
        {
            if (double.IsNaN(expected) || double.IsInfinity(expected))
                Assert.That(actual, Is.EqualTo(expected), message, args);
            else
                Assert.That(actual, Is.EqualTo(expected).Within(delta), message, args);
        }