Преглед на файлове

Добавлен проект unit тестирования

Вадим Королёв преди 2 години
родител
ревизия
373e5b14a2
променени са 2 файла, в които са добавени 29 реда и са изтрити 0 реда
  1. 16 0
      2 Linear algorythms/CalculatorTests/CalculatorTests.csproj
  2. 13 0
      2 Linear algorythms/CalculatorTests/MainTest.cs

+ 16 - 0
2 Linear algorythms/CalculatorTests/CalculatorTests.csproj

@@ -0,0 +1,16 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <TargetFramework>netcoreapp3.1</TargetFramework>
+
+    <IsPackable>false</IsPackable>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
+    <PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
+    <PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
+    <PackageReference Include="coverlet.collector" Version="3.1.2" />
+  </ItemGroup>
+
+</Project>

+ 13 - 0
2 Linear algorythms/CalculatorTests/MainTest.cs

@@ -0,0 +1,13 @@
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+
+namespace CalculatorTests
+{
+    [TestClass]
+    public class MainTest
+    {
+        [TestMethod]
+        public void TestMethod1()
+        {
+        }
+    }
+}