From 56e643a78405ed587ad5ceae1d2080eaa7156659 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Wed, 20 Sep 2023 16:22:55 +0300 Subject: Add supporting clip channels --- 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 c0924fa..0e17e67 100644 --- a/RhSolutions.ML.Tests/Tests.cs +++ b/RhSolutions.ML.Tests/Tests.cs @@ -149,6 +149,18 @@ public class Tests Assert.That(prediction.Type, Is.EqualTo("Black")); } + [TestCase("Фиксирующий желоб 16")] + [TestCase("Желоб 16")] + public void SupportingClipTest(string name) + { + Product p = new() + { + Name = name + }; + var prediction = _predEngine.Predict(p); + Assert.That(prediction.Type, Is.EqualTo("Желоб")); + } + [TestCase("Труба канализационная")] [TestCase("Труба 110")] [TestCase("Труба 110 500")] -- cgit v1.2.3