summaryrefslogtreecommitdiff
path: root/RhSolutions.ML.Tests/Tests.cs
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2023-09-20 14:35:57 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2023-09-20 14:35:57 +0300
commite0edc3793ea8f6882fd5568c9055b1049ccfcf28 (patch)
tree5c66f3e18f3de3ba439fd25598ef29a0bfcffc92 /RhSolutions.ML.Tests/Tests.cs
parent9f80f060bc03f9716145fd66602fa9615668ceea (diff)
Add Flex Pipe
Diffstat (limited to 'RhSolutions.ML.Tests/Tests.cs')
-rw-r--r--RhSolutions.ML.Tests/Tests.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/RhSolutions.ML.Tests/Tests.cs b/RhSolutions.ML.Tests/Tests.cs
index 920c666..e38e459 100644
--- a/RhSolutions.ML.Tests/Tests.cs
+++ b/RhSolutions.ML.Tests/Tests.cs
@@ -94,4 +94,16 @@ public class Tests
var prediction = _predEngine.Predict(p);
Assert.That(prediction.Type, Is.EqualTo("Stabil"));
}
+
+ [TestCase("Труба flex 16")]
+ [TestCase("Труба flex")]
+ public void FlexPipeTest(string name)
+ {
+ Product p = new()
+ {
+ Name = name
+ };
+ var prediction = _predEngine.Predict(p);
+ Assert.That(prediction.Type, Is.EqualTo("Flex"));
+ }
} \ No newline at end of file