-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- the UnitManager now doesn't crash when initializeMath is called and there is an invalid unit - the `_` char is explicitly allowed to be a unit character - invalid units are not added to the unit manager - updated custom-math test so each test is isolated with its own instance of the units manager. - removed what seemed like an unnecessary explicit "addUnit" call in variable.test.ts - grouped invalid unit tests in variable.test.ts - added tests for invalid characters of various types.
- Loading branch information
Showing
3 changed files
with
129 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters