Exemple #1
0
        public void FindBlue()
        {
            string raw = "5601 XL221 blue 622-14-323455-24 rockfish 632";

            List <string> colorsFound = new RawProcessor().DetectPrimaryColors(raw);

            Assert.IsTrue(colorsFound.Contains("blue"));
        }
Exemple #2
0
        public void Bug35()
        {
            string raw = "I listen to the Blues.";

            List <string> colorsFound = new RawProcessor().DetectPrimaryColors(raw);

            Assert.IsTrue(colorsFound.Contains("blue"));
        }
Exemple #3
0
        public void FindYellow()
        {
            string raw = "Pass some yellow mustard, please.";

            List <string> colorsFound = new RawProcessor().DetectPrimaryColors(raw);

            Assert.IsTrue(colorsFound.Contains("yellow"));
        }