Created
February 8, 2021 16:52
-
-
Save muditlambda/ee26ab4b576970181dad373d94bb2cb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Assert_Demo | |
{ | |
class Assert_Demo_1 | |
{ | |
[Test] | |
public void test_comparison() | |
{ | |
Int32 actual_value = 45; | |
// Raise an assert if the GreaterThan is not successful | |
Assert.That(actual_value, Is.Not.GreaterThan(30)); | |
Console.WriteLine("Test for comparison Passed"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment