13 lines
308 B
C#
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));
|
|
}
|
|
} |