-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathTestClass.cs
More file actions
29 lines (26 loc) · 752 Bytes
/
Copy pathTestClass.cs
File metadata and controls
29 lines (26 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NETCoreTests
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build".
[TestClass]
public class TestClass
{
[TestMethod]
public void TestMethodPassing()
{
Assert.IsTrue(true);
}
[TestMethod]
public void TestMethodFailing()
{
Assert.IsTrue(false);
}
[TestMethod]
public void TestStringEqual()
{
var blogname = "linezero";
Assert.AreEqual(blogname,"LineZero");
}
}
}