Skip to content

Conversation

@forfudan
Copy link
Owner

This pull request includes several changes to the DeciMojo library to simplify the initialization of Decimal objects and improve code readability.

Codebase Simplification:

  • Removed the from_words method and replaced its usage with direct calls to the Decimal constructor.
  • Added a new constructor to initialize Decimal objects with four raw words and another constructor to initialize Decimal objects with five components.

Testing:

  • Imported the testing module to add assertions for validating the flags word in the new constructor.
  • Updated test cases to use the new Decimal constructor instead of from_words.

@forfudan forfudan merged commit 53fa909 into main Mar 15, 2025
1 of 2 checks passed
@forfudan forfudan deleted the work branch March 15, 2025 21:11
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