summaryrefslogtreecommitdiff
path: root/RhSolutions.ML.Tests
diff options
context:
space:
mode:
Diffstat (limited to 'RhSolutions.ML.Tests')
-rw-r--r--RhSolutions.ML.Tests/Tests.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/RhSolutions.ML.Tests/Tests.cs b/RhSolutions.ML.Tests/Tests.cs
index 3f6960a..9972598 100644
--- a/RhSolutions.ML.Tests/Tests.cs
+++ b/RhSolutions.ML.Tests/Tests.cs
@@ -117,6 +117,19 @@ public class Tests
Assert.That(prediction.Type, Is.EqualTo("Переходник с накидной гайкой"));
}
+ [TestCase("Угольник 16")]
+ [TestCase("Угольник 16 90")]
+ [TestCase("Угольник 50 45")]
+ public void ElbowTest(string name)
+ {
+ Product p = new()
+ {
+ Name = name
+ };
+ var prediction = _predEngine.Predict(p);
+ Assert.That(prediction.Type, Is.EqualTo("Угольник RAUTITAN"));
+ }
+
[TestCase("Труба stabil 16")]
[TestCase("Труба stabil")]
public void StabilPipeTest(string name)