1echo "Building fastCover dictionary with in=../../lib/common f=20 out=dict1"
2./main in=../../../lib/common f=20 out=dict1
3zstd -be3 -D dict1 -r ../../../lib/common -q
4echo "Building fastCover dictionary with in=../../lib/common k=500 d=6 f=24 out=dict2 dictID=100 maxdict=140000"
5./main in=../../../lib/common k=500 d=6 f=24 out=dict2 dictID=100 maxdict=140000
6zstd -be3 -D dict2 -r ../../../lib/common -q
7echo "Building fastCover dictionary with 2 sample sources"
8./main in=../../../lib/common in=../../../lib/compress out=dict3
9zstd -be3 -D dict3 -r ../../../lib/common -q
10echo "Removing dict1 dict2 dict3"
11rm -f dict1 dict2 dict3
12
13echo "Testing with invalid parameters, should fail"
14! ./main in=../../../lib/common r=10
15! ./main in=../../../lib/common d=10
16