Skip to content

Fix normalize_expression for complex cases - #216

Merged
nitzanj merged 2 commits into
masterfrom
feature/improve-normalize-for-complex-cases
Sep 7, 2020
Merged

Fix normalize_expression for complex cases#216
nitzanj merged 2 commits into
masterfrom
feature/improve-normalize-for-complex-cases

Conversation

@YomesInc

@YomesInc YomesInc commented Aug 1, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@YomesInc YomesInc closed this Aug 1, 2020
@YomesInc
YomesInc deleted the feature/improve-normalize-for-complex-cases branch August 1, 2020 08:41
@YomesInc
YomesInc restored the feature/improve-normalize-for-complex-cases branch August 17, 2020 21:53
@YomesInc YomesInc reopened this Aug 17, 2020
@YomesInc
YomesInc requested a review from nitzanj August 24, 2020 23:31

@nitzanj nitzanj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some tests with real-world use cases. I'm missing tests for mixing predefined variables with user variables, and operator substitutions (with user variables that have width/height in the name, obviously).

e.g.

 Transformation t = new Transformation().variable("$mywidth", "100").variable("$aheight", 300)
                .chain().width("3 + $mywidth * 3 + 4 / 2 * initialWidth * $mywidth/")
                .height("3 * initialHeight + $aheight")

@nitzanj
nitzanj merged commit f0646a8 into master Sep 7, 2020
@nitzanj
nitzanj deleted the feature/improve-normalize-for-complex-cases branch October 28, 2020 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants