diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 14:41:16 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-09-20 14:41:16 +0300 |
commit | 292f5eaab423b00a62d95344900c670f4775efef (patch) | |
tree | a58af077058db8f1eb26a80bfcfb446c66f92142 /RhSolutions.ML.Tests | |
parent | e0edc3793ea8f6882fd5568c9055b1049ccfcf28 (diff) |
Add pink 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 e38e459..77f6991 100644 --- a/RhSolutions.ML.Tests/Tests.cs +++ b/RhSolutions.ML.Tests/Tests.cs @@ -106,4 +106,16 @@ public class Tests var prediction = _predEngine.Predict(p); Assert.That(prediction.Type, Is.EqualTo("Flex")); } + + [TestCase("Труба pink 16")] + [TestCase("Труба pink")] + public void PinkPipeTest(string name) + { + Product p = new() + { + Name = name + }; + var prediction = _predEngine.Predict(p); + Assert.That(prediction.Type, Is.EqualTo("Pink")); + } }
\ No newline at end of file |