more tests and cases and documentation
This commit is contained in:
@@ -151,3 +151,7 @@ The use-case tests in `testing/jsmaker-usecases.rkt` intentionally use
|
||||
`js/expression` for the test calls wherever possible. Raw JavaScript is kept
|
||||
only for small test-harness preambles such as fake timers, fake DOM objects, and
|
||||
fake fetch.
|
||||
|
||||
## Hash regression tests
|
||||
|
||||
This build adds `testing/jsmaker-hash-regression.rkt`, covering common hash operations such as `hash`, `make-hash`, `hash-ref`, `hash-set`, `hash-set!`, `hash-remove`, `hash-remove!`, `hash-update`, `hash-update!`, `hash-clear`, `hash-clear!`, `hash-copy`, `hash-keys`, `hash-values`, `hash->list`, `hash-map`, and `hash-for-each`. The current JavaScript backend represents hashes as plain JavaScript objects, so this is a practical string/symbol-key subset rather than a full Racket hash-table implementation for arbitrary keys.
|
||||
|
||||
Reference in New Issue
Block a user