v0.8.4.1 - Hotfix (#3419)
Co-authored-by: Weblate (bot) <hosted@weblate.org> Co-authored-by: Adam Beneš <toohka@protonmail.com> Co-authored-by: Dark77 <Dark77@pobox.sk> Co-authored-by: Frozehunter <frozehunter@me.com> Co-authored-by: Havokdan <havokdan@yahoo.com.br> Co-authored-by: Yoan Jacquemin <yoanjacquemin@gmail.com> Co-authored-by: aleixcox <18121624@qq.com> Co-authored-by: mag37 <robin.ivehult@gmail.com>
This commit is contained in:
parent
d4028a8d68
commit
ac47cbd75f
24 changed files with 300 additions and 128 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using Xunit;
|
||||
using static API.Services.Tasks.Scanner.Parser.Parser;
|
||||
|
||||
|
@ -15,6 +16,16 @@ public class ParsingTests
|
|||
Assert.Equal(6.5f, a);
|
||||
}
|
||||
|
||||
// [Theory]
|
||||
// [InlineData("de-DE")]
|
||||
// [InlineData("en-US")]
|
||||
// public void ShouldParse(string culture)
|
||||
// {
|
||||
// var s = 6.5f + "";
|
||||
// var a = float.Parse(s, CultureInfo.CreateSpecificCulture(culture));
|
||||
// Assert.Equal(6.5f, a);
|
||||
// }
|
||||
|
||||
[Theory]
|
||||
[InlineData("Joe Shmo, Green Blue", "Joe Shmo, Green Blue")]
|
||||
[InlineData("Shmo, Joe", "Shmo, Joe")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue