diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 14:32:33 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 14:32:33 +0300 |
commit | 9f80f060bc03f9716145fd66602fa9615668ceea (patch) | |
tree | 4b1eedd053bf2a038df01fb0b684fe56dac65b5c /RhSolutions.ML.Tests | |
parent | 7526097456bbb94e94528e798398991544c232ee (diff) |
Add Stabil Pipe
Diffstat (limited to 'RhSolutions.ML.Tests')
-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 |