summaryrefslogtreecommitdiff
path: root/Justfile
blob: b324d00377af4610af7b1fe04ed36f951f9ff04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
test-echo:
    cargo build --bin echo
    maelstrom test -w echo --bin target/debug/echo --node-count 1 --time-limit 10

test-unique-ids:
    cargo build --bin unique_ids
    maelstrom test -w unique-ids --bin target/debug/unique_ids --time-limit 30 --rate 1000 --node-count 3 --availability total --nemesis partition

test-broadcast-single:
    cargo build --bin broadcast
    maelstrom test -w broadcast --bin target/debug/broadcast --node-count 1 --time-limit 20 --rate 10

test-broadcast-multi:
    cargo build --bin broadcast
    maelstrom test -w broadcast --bin target/debug/broadcast --node-count 5 --time-limit 20 --rate 10

test: test-echo test-unique-ids test-broadcast-single test-broadcast-multi