Skip to content

Instantly share code, notes, and snippets.

@selcukusta
Last active December 20, 2017 13:48
Show Gist options
  • Select an option

  • Save selcukusta/988fcfe416f15f8e34f00bb1c49aa824 to your computer and use it in GitHub Desktop.

Select an option

Save selcukusta/988fcfe416f15f8e34f00bb1c49aa824 to your computer and use it in GitHub Desktop.
[Theory, MemberData(nameof(StaticParameter))]
public void ToPrettyDate_ShouldAssertTrue_WhenCultureIsItalian(CultureTestParameter parameter)
{
var actual = parameter.Actual.ToPrettyDate(parameter.Culture);
var expected = parameter.Expected;
Assert.Equal(expected, actual);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment