public void TSTestGetName() { string expected = "Name1"; int num = 5; TickerSet tS = new TickerSet(num, "Name1"); string result = tS.getName(); Assert.AreEqual(expected, result); }
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 = ""; }