public void SecondSearchTest()
            {
                //[4, (pencil, 20, description)]
                Dictionary <string, Tuple <string, int, string> > dict = new Dictionary <string, Tuple <string, int, string> >();

                dict.Add("1", new Tuple <string, int, string>("pen", 5, "description"));
                dict.Add("2", new Tuple <string, int, string>("paper", 10, "description"));
                dict.Add("3", new Tuple <string, int, string>("notebook", 2, "description"));
                string[]     sub    = { "4", "pa" };
                ProductStock p      = new ProductStock();
                var          res    = p.Search(dict, sub, "OR");
                var          arlist = new ArrayList()
                {
                };

                foreach (var item in dict)
                {
                    if ((item.Key == "2") || (item.Key == "4"))
                    {
                        arlist.Add(item);
                    }
                }

                Assert.AreEqual(res, arlist);
            }
            public void ThirdSearchTest()
            {
                Dictionary <string, Tuple <string, int, string> > dict = new Dictionary <string, Tuple <string, int, string> >();

                dict.Add("1", new Tuple <string, int, string>("pen", 5, "description"));
                dict.Add("2", new Tuple <string, int, string>("paper", 10, "description"));
                dict.Add("3", new Tuple <string, int, string>("notebook", 2, "description"));
                string[]     sub    = { "10" };
                ProductStock p      = new ProductStock();
                var          res    = p.Search(dict, sub, "OR");
                var          arlist = new ArrayList()
                {
                };

                Assert.AreEqual(res, arlist);
            }