public void ContainsTest(int[] arr, int value, bool expected) { ListArray la = new ListArray(arr); bool actual = la.Contains(value); Assert.AreEqual(actual, expected); }
public static bool IsKeyPressed(Keys key) { return(_keysPressed.Contains(key)); }
public static bool IsKeyReleased(Keys key) { return(_keysReleased.Contains(key)); }
public static bool IsKeyDown(Keys key) { return(_keysDown.Contains(key)); }