public void countPixlesTest1() { TwoFactorAuthtication test = new TwoFactorAuthtication(); //intialzation code char[,] screen = test.createBlankScreen(3, 7); int ans = test.coutPixles(screen); Assert.AreEqual(0, ans); }
public void countPixlesTest2() { TwoFactorAuthtication test = new TwoFactorAuthtication(); //intialzation code char[,] screen = test.createBlankScreen(3, 7); screen = test.rect(screen, 3, 2); screen = test.rotateColumn(screen, 1, 1); int ans = test.coutPixles(screen); Assert.AreEqual(6, ans); }