mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
Added test for size parsing
This commit is contained in:
parent
6a9ca9295f
commit
8921c45a96
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ public void parse_releaseGroup(string title, string expected)
|
|||
[TestCase("7,162.1MB", 7510006170)]
|
||||
[TestCase("162.1MB", 169974170)]
|
||||
[TestCase("398.62 MB", 417983365)]
|
||||
[TestCase("845 MB", 1073741824)]
|
||||
public void parse_size(string sizeString, long expectedSize)
|
||||
{
|
||||
var result = BasicRssParser.GetReportSize(sizeString);
|
||||
|
|
Loading…
Reference in a new issue