persist/run.sh

10 lines
157 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$(realpath "$0")")"
echo "
let value = 4 * 3 + 2 * 1;
let expects = (4 * 3) + (2 * 1);
print(value, expects)
" | cargo run