B2B-Training/Tests/Stream/StreamTest.cs
Louis 0d06576f8b
Some checks failed
Tests / Unit Testing1 (push) Failing after 40s
ci: 👷 Change CI to add test files
2023-11-02 19:48:23 +01:00

13 lines
308 B
C#

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));
}
}