beaunus/stanford-algs

1.1 has 2 improper test cases

Opened this issue · 0 comments

Hey,

I'd like to report an issue with two of the test files in Course 1, Assignment 1, namely:
input_Rahmeen_14_1.txt
input_Rahmeen_14_1.txt

(as well as their associated output files)

Both of these input files have tests which are out of the scope of the first assignment. In both files, the two inputs have a different number of digits. In addition, some of the inputs have integers whose number of digits are not a power of 2. Every other test meets these requirements so these stand out.

As a result, students who chose to simplify their algorithm based on the assumptions given in the assignment will encounter errors running the tester on these files (especially annoying when trying to run automated tests on the entire directory).