using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NavisworksTransport.UnitTests { [TestClass] public class SimpleTest { [TestMethod] public void HelloWorld_ShouldPass() { // Arrange string expected = "Hello World"; // Act string actual = "Hello World"; // Assert Assert.AreEqual(expected, actual, "Hello World 测试应该通过"); } [TestMethod] public void SimpleMath_ShouldReturnCorrectSum() { // Arrange int a = 2; int b = 3; int expected = 5; // Act int actual = a + b; // Assert Assert.AreEqual(expected, actual, "2 + 3 应该等于 5"); } } }