summaryrefslogtreecommitdiff
path: root/RhSolutions.ML.Tests
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2023-09-20 16:22:55 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2023-09-20 16:22:55 +0300
commit56e643a78405ed587ad5ceae1d2080eaa7156659 (patch)
treeb4939ff8e510b90c1d7702138ac063078df6a205 /RhSolutions.ML.Tests
parent9773d6a93feda8073bb50643349679ad7b5dce81 (diff)
Add supporting clip channels
Diffstat (limited to 'RhSolutions.ML.Tests')
-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 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")]