diff options
Diffstat (limited to 'RhSolutions.ML.Tests/Tests.cs')
-rw-r--r-- | RhSolutions.ML.Tests/Tests.cs | 12 |
1 files changed, 12 insertions, 0 deletions
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 |