Skip to content

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.

  1. Download workshop.tar.gz
  2. Extract it with the following command
tar xvfz workshop.tar.gz
  1. Open moonlander-game/index.html in a browser. Proceed to land safely on the moon
  • without an initial rotation
  • with an initial rotation
  1. Enter the moonlander-ast-rust directory and build the evolve example
cargo build --release --example evolve
  1. Move over to moonlander-visualisation and run it
cargo run --release ../moonlander-ast-rust/target/release/examples/
  1. Open localhost:8080 in the browser and start a run of evolutions. Check that programs perform correctly.

  2. Move over to nadezhda and run

cargo run 5 100

It should find a source of food, with a program with a net result of 5 steps forward.

  1. Check that flymetothemoon.pdf is presented among the extracted files.
Clone this wiki locally