Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…5610) Fixes #4202 : This PR adds support for parsing the "HasIntegerPartEqualTo" rule type for fractions in the Oppia Android app. ### Changes Made - **Updated** `test_exp_id_2.json` to include the "HasIntegerPartEqualTo" rule type to ensure the rule is tested properly. - **Updated** `StateRetriever.kt` to handle the "HasIntegerPartEqualTo" rule in the `createExactInputForFractionInput()` method. - **Added** parsing logic for the "HasIntegerPartEqualTo" rule by adding a new check in `createExactInputForFractionInput()` to handle this rule type. --- ## Essential Checklist - [x] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".) - [ ] Any changes to [scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets) files have their rationale included in the PR explanation. - [x] The PR follows the [style guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide). - [x] The PR does not contain any unnecessary code changes from Android Studio ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)). - [x] The PR is made from a branch that's **not** called "develop" and is up-to-date with "develop". - [x] The PR is **assigned** to the appropriate reviewers ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)). --------- Co-authored-by: Adhiambo Peres <[email protected]>
- Loading branch information