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

[TODO] Test cases #4

Open
krishna-parajuli opened this issue Apr 19, 2024 · 3 comments
Open

[TODO] Test cases #4

krishna-parajuli opened this issue Apr 19, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@krishna-parajuli
Copy link

I saw a PR without tests written. Let’s add contribution guidelines and define a flow of how a PR gets merged into the repo.

@sumanashrestha sumanashrestha added the help wanted Extra attention is needed label Apr 20, 2024
@sumanashrestha sumanashrestha changed the title Contribution guidelines [TODO] Test cases Apr 20, 2024
@sumanashrestha
Copy link
Collaborator

Agreed. converted this to a TODO.

Please help by writing test cases to ensure that Allocation guidelines are met.

  • एक विद्यालयको परिक्षार्थी संख्या हेरी सकभर १००, २०० भन्दा बढी परीक्षार्थी एकै केन्द्रमा नपर्ने गरी बाँढ्न पर्ने
  • आफ्नै विद्यालयमा केन्द्र पार्न नहुने
  • दुई विद्यालयका परीक्षार्थीको केन्द्र एक अर्कामा पर्न नहुने, अर्थात् कुनै विद्यालयका परीक्षार्थीको केन्द्र परेको विद्यालयका परीक्षार्थीहरूको केन्द्र अघिल्लो विद्यालयमा पार्न नहुने ।
  • एकै स्वामित्व / व्यवस्थापनको भनी पहिचान भएका केन्द्रमा पार्न नहुने
  • विगतमा कुनै विद्यालयको कुनै केन्द्रमा पार्दा समस्या देखिएकोमा केन्द्र नदोहोऱ्याउन नहुने
  • प्रत्येक पटक केन्द्र तोक्ने प्रोग्राम चलाउदा फरक फरक नतिजा आउने गरी ऱ्यान्डमाइज भएको हुनु पर्ने

Please remember the output is randomized and inherently nondeterministic, test cases must be written with this in mind

@krishna-parajuli
Copy link
Author

I have already started. will send a PR once done on my end.

@samurato
Copy link
Contributor

samurato commented May 1, 2024

@sumanashrestha @krishna-parajuli Could you please kindly review my PR I have added the test cases in my commits .

#89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants