2023-04-13 23:28:59 +08:00
|
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
2023-04-19 19:40:44 +08:00
|
|
|
using System;
|
2023-04-13 23:28:59 +08:00
|
|
|
|
|
|
|
namespace test_csproj
|
|
|
|
{
|
|
|
|
[TestClass]
|
|
|
|
public class Test
|
|
|
|
{
|
|
|
|
[TestMethod]
|
|
|
|
public void TestMethod()
|
2023-04-19 19:40:44 +08:00
|
|
|
{
|
|
|
|
Console.WriteLine("TestMethod");
|
|
|
|
int calculatedResult = 1000 / 25;
|
|
|
|
int expectedResult = 40;
|
|
|
|
Assert.AreEqual(calculatedResult, expectedResult);
|
2023-04-13 23:28:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|