diff --git a/.github/workflows/statistical_tests.yml b/.github/workflows/statistical_tests.yml index 67d64c3..8428bba 100644 --- a/.github/workflows/statistical_tests.yml +++ b/.github/workflows/statistical_tests.yml @@ -1,4 +1,4 @@ - name: Executar testes +name: Executar Geradores on: push: @@ -16,12 +16,23 @@ jobs: - name: Verificar código uses: actions/checkout@v3 - - name: Executar "SP800-22" + - name: Criar arquivo de entrada run: | - ./statistical_tests/SP800-22/assess 10000 - 0 - /statistical_tests/output.bin - 1 - 0 - 10 - 1 + echo -e "0\noutput.bin\n1\n0\n100\n1" > input.txt + + - name: Executar "SP800-22" com atraso nas entradas + run: | + #!/bin/bash + { + echo "0" + sleep 0.3 + echo "output.bin" + sleep 0.3 + echo "1" + sleep 0.3 + echo "0" + sleep 0.3 + echo "100" + sleep 0.3 + echo "1" + } | ./statistical_tests/SP800-22/assess 10000