parent
2e9f6cd94b
commit
726dc34424
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BenchmarkDotNet.Attributes;
|
||||
using NzbDrone.Core.Parser;
|
||||
|
||||
namespace NzbDrone.Benchmark.Test.ParserTests
|
||||
{
|
||||
[InProcess]
|
||||
public class ParseUtilFixture
|
||||
{
|
||||
[Benchmark]
|
||||
[Arguments("123456789")]
|
||||
[Arguments("")]
|
||||
[Arguments("asd8f7asdf")]
|
||||
[Arguments("sdf")]
|
||||
public void parse_long_from_string(string dateInput)
|
||||
{
|
||||
ParseUtil.GetLongFromString(dateInput);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue