From: Aaron Taylor Date: Wed, 31 Jul 2019 04:27:08 +0000 (-0700) Subject: Fixing a comment in memsrch test and adding a dummy test for memrand. Heap tests... X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/commitdiff_plain/60d04456549c25d8125c85c899e877e0d0b5a13c Fixing a comment in memsrch test and adding a dummy test for memrand. Heap tests now complete. --- diff --git a/stdlib_tests/2006_memsrch.pvvs b/stdlib_tests/2006_memsrch.pvvs index df8575b..406f936 100644 --- a/stdlib_tests/2006_memsrch.pvvs +++ b/stdlib_tests/2006_memsrch.pvvs @@ -4,7 +4,7 @@ SSSTSSSSSN | PUSH 32 (address) SSSTN | PUSH 1 (count) NSTTTSSSN | JSR > 11000 (memset) -@ This comparison should return true. +@ This search should locate the word at address 32. SSSTSTSTSN | PUSH 42 (pattern) SSSTSSSN | PUSH 8 (count) SSSSTTTSSN | PUSH 28 (address) diff --git a/stdlib_tests/2007_memrand.pvvs b/stdlib_tests/2007_memrand.pvvs new file mode 100644 index 0000000..8c51d72 --- /dev/null +++ b/stdlib_tests/2007_memrand.pvvs @@ -0,0 +1,10 @@ +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@ +@ This test intentionally blank. +@ +@ If there comes a day when the tests are extended beyond testing basic +@ functionality, include memrand in the new tests. +@ +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + +NNN | Die diff --git a/stdlib_tests/vv_test.py b/stdlib_tests/vv_test.py index 6cfa0bd..381a732 100755 --- a/stdlib_tests/vv_test.py +++ b/stdlib_tests/vv_test.py @@ -29,6 +29,7 @@ tests = [ ['2004_memcpy', '', '34:\t+42\n35:\t+42\n'], ['2005_memcmp', '', '+1'], ['2006_memsrch', '', '+32'], + ['2007_memrand', '', ''], ] for test in tests: