Example #1
0
 public void TestLabelsShowCorrecltPoints(int points)
 {
     CurrentUser.poitAmount = points;
     menuView = new Form1();
     Assert.AreEqual(points, int.Parse(menuView.pointsLabel.Text));
 }
Example #2
0
 public void TestLabelsShowCorrecltUsername(string username)
 {
     CurrentUser.username = username;
     menuView             = new Form1();
     Assert.AreEqual(username, menuView.userLabel.Text);
 }