public void testInterpretRate()
        {
            Server.Form1 testForm1 = new Server.Form1();
            Users userList = testForm1.userList;
            userList.addUser("Abyss");

            string msg = testForm1.responseMsgQUERY("QUERY:Abyss:AATTTL:<EOF>");
            Console.WriteLine(msg);
        }
        public void testResponseMsgUSER()
        {
            Server.Form1 testForm1 = new Server.Form1();
            Users userList = testForm1.userList;

            userList.addUser("Abyss");
            userList.addStcokForUser("Abyss", "abc", 100);

            string msg = testForm1.responseMsgUSER("USER:"******"Abyss" + ":<EOF>");

            Console.WriteLine(msg);
        }
        public void testResponseMsgSELL()
        {
            Server.Form1 testForm1 = new Server.Form1();
            Users userList = testForm1.userList;
            userList.addUser("Abyss");
            userList.addStcokForUser("Abyss", "AAPL", 100);
            userList.addStcokForUser("Abyss", "FB", 200);
            // "SELL:" + <userName> + ":" + <stockName> + ":" + <quantity> + ":<EOF>" from client;
            string msg = testForm1.responseMsgSELL("SELL:Abyss:AAPL:1:<EOF>");

            Console.WriteLine(msg);
        }
 public UIUpdater(Form1 UI)
 {
     this.UI = UI;
 }