Fix cyrillic x divider
This commit is contained in:
parent
9501c4ed8b
commit
8252e962db
@ -9,10 +9,10 @@ public class RautitanPipesTests : ProductQueryModifierTests
|
||||
public void FlexPipeTest(string query, string modified)
|
||||
=> Execute(productType: "Flex", query, modified);
|
||||
|
||||
[TestCase("Унив. труба RAUTITAN pink+ 16х2,2 мм, бухта 120 м", "Труба Pink+ 16x2,2 бухта")]
|
||||
[TestCase("труба pink 16", "Труба Pink+ 16x2,2 бухта")]
|
||||
[TestCase("Унив. труба RAUTITAN pink+ 32х4,4 мм, бухта 50 м", "Труба Pink+ 32x4,4 бухта")]
|
||||
[TestCase("труба pink 32", "Труба Pink+ 32x4,4 прямые отрезки")]
|
||||
[TestCase("Унив. труба RAUTITAN pink+ 16х2,2 мм, бухта 120 м", "Труба Pink+ 16х2,2 бухта")]
|
||||
[TestCase("труба pink 16", "Труба Pink+ 16х2,2 бухта")]
|
||||
[TestCase("Унив. труба RAUTITAN pink+ 32х4,4 мм, бухта 50 м", "Труба Pink+ 32х4,4 бухта")]
|
||||
[TestCase("труба pink 32", "Труба Pink+ 32х4,4 прямые отрезки")]
|
||||
public void PinkPipeTest(string query, string modified)
|
||||
=> Execute(productType: "Pink", query, modified);
|
||||
|
||||
|
@ -4,6 +4,16 @@ namespace RhSolutions.Api.Services
|
||||
public class PinkPipeQueryModifier : PipeQueryModifier
|
||||
{
|
||||
protected override string pipeName => "Pink+";
|
||||
protected override Dictionary<string, string> diameterNames => new()
|
||||
{
|
||||
["16"] = "16х2,2",
|
||||
["20"] = "20х2,8",
|
||||
["25"] = "25х3,5",
|
||||
["32"] = "32х4,4",
|
||||
["40"] = "40х5,5",
|
||||
["50"] = "50х6,9",
|
||||
["63"] = "63х8,7"
|
||||
};
|
||||
protected override Dictionary<string, string> makeUpNames => new()
|
||||
{
|
||||
["бухт"] = "бухта",
|
||||
|
Loading…
Reference in New Issue
Block a user