diff --git a/2bit.py b/2bit.py index 7b94bc0..71abda5 100644 --- a/2bit.py +++ b/2bit.py @@ -33,7 +33,7 @@ if use_non_random_dither: counter_max = int(args[args.index("--non-random-dither") + 1]) if not dither: dither = auto_dither(bits) - print("Non-random dither has no effect if dither is disabled. Guessing you want "+format_dither(dither)+"% dither") + print("Non-random dither has no effect if dither is disabled. Guessing you want "+format_dither(dither)+" dither") def binprecision(start, bits, length): end = bin(int(start))[2:] while len(end) < bits: diff --git a/test/run.py b/test/run.py index 57f3693..f026c30 100644 --- a/test/run.py +++ b/test/run.py @@ -41,6 +41,7 @@ for f in files: for dither in [False, "15", "50", "auto"]: for nonrandom in [False, "7", "10"]: for percolor in [False, True]: + if nonrandom and not dither: continue i += 1 run(bits, percolor, dither, nonrandom) print(str(int(float(1000*i)/max_i)/10) + "% done")