Skip to content

Conversation

@gautam1168
Copy link
Contributor

Added test cases for the operators that were not tested already.

There are 32 failing test cases and 81 passing ones. The failing test cases should pass if the evaluate function is supposed to work like js engine in chrome.

The lint shows 12 errors but those are because of the Throw function of chai. I cannot change that.

Create test cases which would break our expression evaluation function
@maxceem maxceem self-requested a review February 27, 2019 02:01
@maxceem maxceem changed the base branch from cf15 to cf15-evaluate February 27, 2019 02:12
Copy link
Collaborator

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

Great set of tests!

Thank you @gautam1168.

PS. we can use throw in lowercase to avoid lint errors. All of these are synonyms:

image

@maxceem maxceem merged commit 800acca into topcoder-archive:cf15-evaluate Feb 27, 2019
@gautam1168
Copy link
Contributor Author

gautam1168 commented Feb 27, 2019 via email

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