Skip to content

add parse_input module with unit tests#1

Merged
CodingWithAishik merged 1 commit intomainfrom
feature/member1-parser
Mar 22, 2026
Merged

add parse_input module with unit tests#1
CodingWithAishik merged 1 commit intomainfrom
feature/member1-parser

Conversation

@soumyajit-2005
Copy link
Copy Markdown
Collaborator

Implements the Parser module. parse_input() accepts strings like
"O'247" and "D'123" and returns base_mode, value, and error.

How to test

python -m pytest tests/test_parser.py -v

Notes for reviewers

  • Add new bases in PREFIX_TO_MODE at the top of parser.py
  • 40+ unit tests across 7 categories included

@soumyajit-2005 soumyajit-2005 self-assigned this Mar 22, 2026
@CodingWithAishik CodingWithAishik merged commit 003c25e into main Mar 22, 2026
@CodingWithAishik CodingWithAishik deleted the feature/member1-parser branch March 22, 2026 12:08
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