Skip to content

Commit

Permalink
more tests for range name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyagusev committed Feb 10, 2022
1 parent 6118bfc commit 49db935
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/BookFx.Tests/Validation/BoxValidatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,13 @@ public void ColSizeRange_InvalidSizes_Invalid(double size)
[Theory]
[InlineData("_")]
[InlineData("_1")]
[InlineData("_123")]
[InlineData("A")]
[InlineData("name0")]
[InlineData("year")]
[InlineData("год")]
[InlineData("έτος")]
[InlineData("")]
public void Name_ValidName_ValidResult(string rangeName)
{
var box = Make.Value().Name(rangeName).Get;
Expand All @@ -195,6 +200,7 @@ public void Name_ValidName_ValidResult(string rangeName)
[Theory]
[InlineData("")]
[InlineData("1")]
[InlineData("123")]
[InlineData("A1")]
[InlineData("R1C1")]
[InlineData("rc")]
Expand Down

0 comments on commit 49db935

Please sign in to comment.