https://github.com/jrincayc/ucblogo-code
Revision 1f5ab9f8323299051c898e0854a8ef56e8b03989 authored by Joshua J. Cogliati on 26 December 2019, 18:30:53 UTC, committed by Joshua J. Cogliati on 26 December 2019, 18:30:53 UTC
1 parent 83cc26c
Tip revision: 1f5ab9f8323299051c898e0854a8ef56e8b03989 authored by Joshua J. Cogliati on 26 December 2019, 18:30:53 UTC
Fixing desktop icon location, renaming to ucblogo instead of ucbwlogo
Fixing desktop icon location, renaming to ucblogo instead of ucbwlogo
Tip revision: 1f5ab9f
_suite-template.lg
;MAKING A NEW TEST SUITE:
;-------------------------
;1) replace $title with the human-readable title
;2) replace $suite with the short name of the suite (alpha/numeric)
;3) remove these comments
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; BERKELEY LOGO ;;
;; $title ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
InstallSuite [$title] [Tests.$suite.Setup]
;; The list of all OOP unit tests
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
MAKE "Tests.$suite [
;list tests here
Tests.$suite.SampleTest
]
;; Test Suite setup procedure, main entry
;; point for all tests in this suite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
to Tests.$suite.Setup
RunTests :Tests.$suite
end
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; HELPERS, MISC ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ADD INDIVIDUAL UNIT TESTS BELOW ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;all tests must return T/F indicating success/failure
to Tests.$suite.SampleTest
OUTPUT (AND [EQUAL? 0 0]
[EQUAL? 0 0]
[EQUAL? 0 0]
[EQUAL? 0 0])
end
Computing file changes ...