Esempio n. 1
0
        public void TSTestGetName()
        {
            string    expected = "Name1";
            int       num      = 5;
            TickerSet tS       = new TickerSet(num, "Name1");
            string    result   = tS.getName();

            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
 private void memoryName()
 {
     TextBlock[] memory = { memory1, memory2, memory3, memory4, memory5 };//Array of textboxs
     memory[current].Text = cTS.getName();//Sets the name to display as one of the memory slot
     setName.Text = "";
 }