Created
April 7, 2011 12:16
-
-
Save mazur/907648 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IEnumerable<Action> Parameterized_shit_method_bithes() | |
{ | |
yield return () => Run_me_with_params(5, 4); | |
yield return () => Run_me_with_params(7, 8); | |
yield return () => Run_me_with_params(12, 56); | |
} | |
protected void Run_me_with_params(int x, int y) | |
{ | |
// Assert shit here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment