Skip to content

Commit

Permalink
Merge the matrix atoms for sequential new lines (ForNeVeR#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jan 6, 2020
1 parent 4f3b440 commit 2cbc7d4
Show file tree
Hide file tree
Showing 7 changed files with 659 additions and 259 deletions.
8 changes: 8 additions & 0 deletions src/WpfMath.Tests/ParserTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,11 @@ let colorModelsWithOpacity(text: string): unit =
[<Fact>]
let multilineFormula(): unit =
verifyParseResult @"line 1\\line 2\\line 3"

[<Theory>]
[<InlineData(@"\matrix{line 1}\\line 2");
InlineData(@"\pmatrix{line 1}\\line 2")>]
let newLineAfterMatrix(text: string): unit =
verifyParseResultScenario
<| processSpecialChars text
<| text
Loading

0 comments on commit 2cbc7d4

Please sign in to comment.