Created
January 2, 2024 13:39
-
-
Save bjoerntx/c4903e2e61e74b19c6d7798acc2484dc 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
namespace MyUnitTest | |
{ | |
public class Tests | |
{ | |
[SetUp] | |
public void Setup() | |
{ | |
} | |
[Test] | |
public void Test1() | |
{ | |
var html = MyClassLibrary.Class1.GetHtml(); | |
// if html contains "Hello, World!" the test passes | |
Assert.IsTrue(html.Contains("Hello, World!")); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment