adeck / filtermen

Imaging filters.
3 stars 1 forks source link

RLE Testing #10

Open sberul opened 10 years ago

sberul commented 10 years ago

As of now, the test runlength encodes a random stream of numbers, such that half the numbers are interpreted as zeroes. Correctness is determined by inspection - mainly, there should be no consecutive zeroes, since each zero is followed by a count. Also, output should never end with a zero.

I should extend this to test on known input, including a known input with the last number being a zero

sberul commented 10 years ago

The known input ending in a zero should function properly as long as the module receives a full frame, or if the configuration parameters are set to expect the proper number of pixels. This should be fine for our purposes

sberul commented 10 years ago

Done, added as RLETest2