Skip to content

Add new and more tricky test cases #2

@nonlaminar

Description

@nonlaminar

Currently, all of the binary test files are multiples of 4, which means that when feeding in 4 bit chunks to the buffer there will never be left over bits. This means that it is possible to get full points on the autograder for a driver that will not count the number of 1s correctly for an arbitrary file.

To fix this, one more test binary must be added with a number of bits N such that Nmod4 != 0.

This must be paired with a more streamlined testcase importing method. - Updates to the make files to allow for easily upgrading the tests rather than the scattered method it has right now.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions