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

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

12 Examples 7

1. Example

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

2. Example

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

3. Example

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

4. Example

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

5. Example

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

6. Example

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

7. Example

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

8. Example

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

9. Example

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

10. Example

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

11. Example

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

12. Example

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