From 9f80f060bc03f9716145fd66602fa9615668ceea Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Wed, 20 Sep 2023 14:32:33 +0300 Subject: Add Stabil Pipe --- RhSolutions.ML.Tests/Tests.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'RhSolutions.ML.Tests') diff --git a/RhSolutions.ML.Tests/Tests.cs b/RhSolutions.ML.Tests/Tests.cs index bf09d21..920c666 100644 --- a/RhSolutions.ML.Tests/Tests.cs +++ b/RhSolutions.ML.Tests/Tests.cs @@ -82,4 +82,16 @@ public class Tests var prediction = _predEngine.Predict(p); Assert.That(prediction.Type, Is.EqualTo("Переходник на наружную резьбу")); } + + [TestCase("Труба stabil 16")] + [TestCase("Труба stabil")] + public void StabilPipeTest(string name) + { + Product p = new() + { + Name = name + }; + var prediction = _predEngine.Predict(p); + Assert.That(prediction.Type, Is.EqualTo("Stabil")); + } } \ No newline at end of file -- cgit v1.2.3