- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Test script
        Daan van Berkel edited this page Sep 25, 2016 
        ·
        4 revisions
      
    In order to validate the correctness of the workshop.tar.gz the following test script should be followed.
- Download workshop.tar.gz
- Extract it with the following command
tar xvfz workshop.tar.gz- Open moonlander-game/index.htmlin a browser. Proceed to land safely on the moon
- without an initial rotation
- with an initial rotation
- Enter the moonlander-ast-rustdirectory and build theevolveexample
cargo build --release --example evolve- Move over to moonlander-visualisationand run it
cargo run --release ../moonlander-ast-rust/target/release/examples/- 
Open localhost:8080in the browser and start a run of evolutions. Check that programs perform correctly.
- 
Move over to nadezhdaand run
cargo run 5 100It should find a source of food, with a program with a net result of 5 steps forward.
- Check that flymetothemoon.pdfis presented among the extracted files.