mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
Add one more boundary test
This commit is contained in:
@@ -24,6 +24,14 @@ namespace BinaryObjectScanner.Test
|
||||
Assert.Equal(-1, actual);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FileSize_Invalid_Invalid()
|
||||
{
|
||||
string? filename = "INVALID";
|
||||
long actual = filename.FileSize();
|
||||
Assert.Equal(-1, actual);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IterateWithAction
|
||||
|
||||
Reference in New Issue
Block a user