Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port scale.py to TypeScript #24

Merged
merged 3 commits into from
Mar 19, 2021
Merged

Port scale.py to TypeScript #24

merged 3 commits into from
Mar 19, 2021

Conversation

meganindya
Copy link
Member

@meganindya meganindya commented Mar 19, 2021

Addresses #18.

  • Add interface IScale for class Scale in scale.d.ts
  • Port class Scale and all its members in scale.py to scale.ts
  • Add important unit tests re members of the Scale class in scale.test.ts

Test verification:
Screenshot 2021-03-20 at 2 17 10 AM

Todo:

  • Exhaustively implement remaining test cases for the Scale class.

This commit creates an interface IScale for the public members of the Scale class that is to be implemented.
Create the Scale class that implements the IScale interface created previously. Add documentation.
Create unit tests to verify the crucial public member methods of the Scale class. Error cases not verified.
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.

1 participant