V1.7 Push Swap
Now working, with movements:
- If 4 numbers
- 7 maximum movements
- 3 minimum movements
- If 5 numbers
- 9 maximum movements
- 6 minimum movements
- If 10 numbers
- 32 maximum movements
- 21 minimum movements
- If 15 numbers
- 61 maximum movements
- 45 minimum movements
- If 100 numbers
- 639 maximum movements
- 574 minimum movements
- If 500 numbers
- 4950 maximum movements
- 4525 minimum movements
Bugs just fixed:
- Now the program accepts a large negative numbers list #18
- Now the program blocks if the is a non number at the list #20
- Now the program blocks unexpected signs (-) and (--)
Project in TDD (Test Driven Development)
- 66 automated tests with 191 assertions, without monolith file #24
What's Changed
- Now working but norminette fails by @biralavor in #23
- spliting tester into many files by @biralavor in #24
Full Changelog: v1.61...v1.7