networks: Use a named test-case in the tests for apply-tbf-to-state.
This commit is contained in:
parent
6eb6e21979
commit
ead66a2f4e
1 changed files with 4 additions and 3 deletions
|
@ -939,9 +939,10 @@
|
|||
(apply-tbf tbf (list->vector (hash-map st (λ (_ val) val)))))
|
||||
|
||||
(module+ test
|
||||
(test-case "apply-tbf-to-state"
|
||||
(define st (make-state '((x1 . 0) (x2 . 1))))
|
||||
(define f (tbf #(1 1) 1))
|
||||
(check-equal? (apply-tbf-to-state f st) 0))
|
||||
(check-equal? (apply-tbf-to-state f st) 0)))
|
||||
|
||||
;;; A state TBF is a TBF with named inputs. A state TBF can be
|
||||
;;; applied to states in an unambiguous ways.
|
||||
|
|
Loading…
Reference in a new issue