From faf0429b687561dc3d01adf0ff75cef630ba0f6c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 13 Jul 2015 20:46:27 -0700 Subject: 1775 --- Readme.md | 4 ++-- html/chessboard-test.png | Bin 0 -> 11099 bytes html/factorial-test.png | Bin 0 -> 8499 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 html/chessboard-test.png create mode 100644 html/factorial-test.png diff --git a/Readme.md b/Readme.md index 0c69fd83..91218f85 100644 --- a/Readme.md +++ b/Readme.md @@ -122,7 +122,7 @@ You can also run its unit tests: Here's what one of the tests inside `factorial.mu` looks like: -![test example](http://i.imgur.com/SiQv9gn.png) +![test example](html/factorial-test.png) Every test conceptually spins up a really lightweight virtual machine, so you can do things like check the value of specific locations in memory. You can @@ -130,7 +130,7 @@ also print to screen and check that the screen contains what you expect at the end of a test. For example, `chessboard.mu` checks the initial position of a game of chess (delimiting the edges of the screen with periods): -![screen test](http://i.imgur.com/ufopuF8.png) +![screen test](html/chessboard-test.png) Similarly you can fake the keyboard to pretend someone typed something: diff --git a/html/chessboard-test.png b/html/chessboard-test.png new file mode 100644 index 00000000..8514cec7 Binary files /dev/null and b/html/chessboard-test.png differ diff --git a/html/factorial-test.png b/html/factorial-test.png new file mode 100644 index 00000000..02f8ec9c Binary files /dev/null and b/html/factorial-test.png differ -- cgit 1.4.1-2-gfad0