ci: 👷 Change CI to add test files
Some checks failed
Tests / Unit Testing1 (push) Failing after 40s

This commit is contained in:
2023-11-02 19:48:23 +01:00
parent de2eb52756
commit 0d06576f8b
5 changed files with 14 additions and 1 deletions

View File

@ -2,5 +2,12 @@ namespace Tests.Stream;
public class StreamTest
{
[Theory]
[InlineData("thisfileexist.txt", true)]
[InlineData("thisfiledontexist.txt", false)]
public void ExistFileTest(string filePath, bool expected)
{
Assert.Equal(expected, global::Stream.Stream.ExistFile(filePath));
}
}