You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When two files are running at the same time, their test results are mixed together.
Here is an example. In DrRacket, when I start A.rkt first and then run B.rkt while A is still running (or vice versa), their test results are mixed together. Depending on the launching order, the test result will even change.
A.rkt
;; The first three lines of this file were inserted by DrRacket. They record metadata;; about the language level of this file in a form that our tools can easily process.
#reader(lib"htdp-advanced-reader.ss""lang")((modname A) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #t#t none #f () #f)))
(check-expect "A.rkt-1"false)
(check-expect
(begin
(sleep 5)
"A.rkt-2")
false)
B.rkt
;; The first three lines of this file were inserted by DrRacket. They record metadata;; about the language level of this file in a form that our tools can easily process.
#reader(lib"htdp-advanced-reader.ss""lang")((modname B) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #t#t none #f () #f)))
(check-expect "B.rkt-1""B.rkt-1")
(check-expect
(begin
(sleep 5)
"B.rkt-2")
"B.rkt-2")
When two files are running at the same time, their test results are mixed together.
Here is an example. In DrRacket, when I start
A.rkt
first and then runB.rkt
while A is still running (or vice versa), their test results are mixed together. Depending on the launching order, the test result will even change.A.rkt
B.rkt
Software version:
The text was updated successfully, but these errors were encountered: