Created
January 1, 2016 12:23
-
-
Save BojanKomazec/c9a9df0e0eae367f7e2c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
using NUnit.Framework; | |
using MyApp; | |
namespace MyAppTests | |
{ | |
public class MyClass_Tests | |
{ | |
[TestCase(MyEnum.Value1)] | |
[TestCase(MyEnum.Value2)] | |
public void Foo_Does_This_When_MyEnum_Is_Value1_or_Value2(object myEnumArg) | |
{ | |
var myEnum = (MyEnum)myEnumArg; | |
// use myEnum... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment