Skip to content

Instantly share code, notes, and snippets.

@selcukusta
Created December 20, 2017 13:55
Show Gist options
  • Select an option

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

Select an option

Save selcukusta/a5207f84ffa843881b31c38c468e5d07 to your computer and use it in GitHub Desktop.
[Theory, ClassData(typeof(CultureTestTheoryData))]
public void ToPrettyDate_ShouldAssertsTrue_WhenCultureIsDefined(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