Skip to content

nUnit-style [TestCase] #18

Description

@tenpn
[TestCase("", 0)]
[TestCase("a", 1)]
[TestCase("zzz", 3)]
void GetLength_ReturnsLength(string name, int expectedLength) {
    var name = new NameBox(name);
    Assert.IsEqual(name.GetLength(), expectedLength);
}

Runs function multiple time with various parameters.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions