Skip to content

Commit

Permalink
Add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaubry committed Jan 11, 2021
1 parent 168cb0a commit cda245c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions YamlDotNet.Test/Core/InsertionQueueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public InsertionQueueTests(ITestOutputHelper output)
[InlineData("43210---", 2, "432X10--")]
[InlineData("210---43", 2, "2X10--43")]
[InlineData("10---432", 2, "10--432X")]

[InlineData("-43210--", 4, "4X3210--")]
public void CalculateInsertionParameters_is_correct(string initialState, int index, string expectedFinalState)
{
static (int capacity, int readPtr, int writePtr, int insertPtr, List<(char chr, int idx)> elements) ParseState(string state)
Expand Down

0 comments on commit cda245c

Please sign in to comment.