summaryrefslogtreecommitdiff
path: root/Justfile
blob: 3f7fd2de0c449c4aa5b43284820959355250626c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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-broadcast-fault:
    cargo build --bin broadcast
    maelstrom test -w broadcast --bin target/debug/broadcast --node-count 5 --time-limit 20 --rate 10 --nemesis partition

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