Thomas Weber
4b21fb6fae
Add more unsafe equality test checks
2021-02-28 09:35:04 -06:00
Thomas Weber
1c9846003b
js: Fix "next backdrop" not starting "when backdrop switches to" hats
2021-01-29 18:15:01 -06:00
Thomas Weber
2c383f279f
js: Fix loops double-yielding when last command returns promise
2021-01-29 17:59:27 -06:00
Thomas Weber
8dee0fdac8
Add a test for preciseProjectTimer drift
2020-11-26 10:58:35 -06:00
Thomas Weber
ad817fff6b
populateProcedureCache should not overwrite entries
...
Fixes https://scratch.mit.edu/projects/387608267/
2020-11-17 13:00:17 -06:00
Thomas Weber
86cd92d1ee
js: procedure.call should reset variable inputs
...
https://scratch.mit.edu/projects/430811055/
2020-11-04 19:07:16 -06:00
Thomas Weber
f62d47da1e
Clarify tw-* test licensing
2020-11-04 19:06:17 -06:00
Thomas Weber
900a0a4722
js: op.ln and op.log are NaN-able
2020-10-31 01:26:20 -05:00
Thomas Weber
66fd45fe21
js: op.mod is NaN-able
2020-10-31 01:15:23 -05:00
Thomas Weber
3f80c7b868
Change size should not round initial size
...
Test based on a project by https://scratch.mit.edu/users/_Fingerprint_/
2020-10-28 21:09:51 -05:00
Thomas Weber
1f7f1f500e
Add safe procedure argument casting test
...
Based on https://scratch.mit.edu/projects/441049810/
2020-10-26 21:22:01 -05:00
Thomas Weber
847cf62e2b
Add test for multiple procedure arguments with same name
2020-10-26 11:18:48 -05:00
Thomas Weber
1f8ad7e61b
Update unsafe equals test with more cases
2020-10-17 00:27:39 -05:00
Thomas Weber
ffeb3a9cca
Write some tests
...
tw-unsafe-equals.sb3 is based on a project by https://scratch.mit.edu/users/ContourLines/
tw-zombie-cube-escape-284516654 is based on https://scratch.mit.edu/projects/284516654/ by griffpatch
2020-10-16 19:22:09 -05:00
Eric Rosenbaum
f103094cff
update test
2020-08-12 13:21:19 -04:00
Eric Rosenbaum
04a2b50fee
add test
2020-08-12 11:22:01 -04:00
Karishma Chadha
c499106f85
Revert "Raise params to the next frame when pushing"
2019-07-22 12:59:48 -04:00
Michael "Z" Goddard
8d91e3cbd7
test stopThisScript in procedures
...
- Test that stopThisScript in a procedure stays in the procedure and
moves it to the end where Sequencer can pop it normally
2019-06-25 14:38:46 -04:00
Michael "Z" Goddard
a996864cd9
test that stop all stops current threads next tick
2019-04-11 14:29:42 -04:00
Katie Broida
445ee46984
Merge pull request #1943 from ktbee/clock-timer-compat-fix
...
Start executing hats before other threads change values
2019-03-29 13:01:28 -04:00
Katie Broida
2a60391fb4
Make Scratch 3 project timer more compatible with Scratch 2 currentMSecs usage
...
These compatibility changes:
- Use runtime.currentMSecs for the Clock timer "now" value
- Start executing hats before other threads change values
- Update test and fixtures to work with earlier hat execution
- Add test for hat execution block order
2019-03-29 11:43:37 -04:00
Katie Broida
c37745e97e
Cast sprite name to string before getSpriteTargetByName
2019-03-07 16:09:46 -05:00
Michael "Z" Goddard
20ff75b776
fix: initialize stack frame params for all procedures
...
A previous change fixed compatibility with Scratch 2 removing 3's
unintentional scope leaking. This furthers that change so that
procedures with no parameters will also not accidentally use values in
other procedure stacks.
2018-12-13 10:51:44 -05:00
Karishma Chadha
d71b405300
Merge pull request #1740 from bocoup/fix-flacky-test
...
Fix flacky test: order-changes-backwards-2-broadcast-and-wait.sb2
2018-12-04 11:18:51 -05:00
Valerie R Young
ee40e411ab
Only one say end after broadcaste and waits
2018-11-29 14:00:57 -05:00
Valerie R Young
d8078c018d
Implement feedback, broadcast order
2018-11-16 17:24:28 -05:00
Karishma Chadha
8aa0fa11aa
Merge pull request #1649 from mzgoddard/get-attribute-stage-alt-name
...
Get attribute stage alt name
2018-11-07 17:47:44 -05:00
Karishma Chadha
4bb2d19584
Merge pull request #1683 from mzgoddard/sequencer-thread-cleanup
...
Sequencer thread cleanup
2018-11-07 17:15:11 -05:00
Valerie R Young
05a28e553e
Say 'end' only after 4th increment
2018-11-06 13:26:25 -05:00
Michael "Z" Goddard
afd2ed72c8
add procedure parameter used outside of proc integrations
2018-10-23 15:14:31 -04:00
Michael "Z" Goddard
58a7a6bb04
add get param blocks in wrong procedure integrations
2018-10-23 15:14:30 -04:00
Michael "Z" Goddard
ef4045aaf1
Merge pull request #1642 from mzgoddard/set-procedure-param-defaults
...
Set procedure param defaults
2018-10-23 15:13:16 -04:00
Michael "Z" Goddard
c986d0cf23
test that broadcast_and_wait can yield and continue in the same tick
2018-10-19 16:37:33 -04:00
Michael "Z" Goddard
ca38fb2cc3
add recursive procedure default parameter execute integrations
2018-10-16 16:31:45 -04:00
Michael "Z" Goddard
42570293d6
add sensing getAttributeOf with Stage alternate name integration
2018-10-09 11:29:20 -04:00
Michael "Z" Goddard
533109541b
add broadcast and wait integration that ensures it yields a tick
2018-10-05 16:33:56 -04:00
Michael "Z" Goddard
f1af5b5e99
add order changing broadcast and wait with same message integration
2018-10-05 14:54:02 -04:00
Michael "Z" Goddard
afc546077e
add execution order execute integration tests
...
- rename order-clones-2 -> order-clones-static-2
2018-10-05 13:26:05 -04:00
Michael "Z" Goddard
dec0cd10df
add execution order execute integration tests
2018-10-03 10:35:24 -04:00
Andrew Sliwinski
7a28d5e41d
Merge pull request #1586 from mzgoddard/variable-id-type
...
conflict workaround for variables and lists of the same name
2018-10-01 18:27:59 -04:00
Michael "Z" Goddard
8c98000caf
add execute integration masked variable and list test
2018-09-27 11:57:24 -04:00
Karishma Chadha
0ad59d3859
Merge pull request #1563 from mzgoddard/get-param-condition-input
...
Get param condition input
2018-09-18 15:29:43 -04:00
Michael "Z" Goddard
cbb79c40ad
add monitors-stage-name test
...
Test that an sb2 with a stage name other than Stage and a monitor on
one of its variables is able to load.
2018-09-11 15:10:14 -04:00
Michael "Z" Goddard
d8309e9d24
add execute integration procedures-boolean-reporter-bug test
2018-09-07 19:06:18 -04:00
Michael "Z" Goddard
dbe548eb18
Move execute integration fixtures into test/fixtures
2018-05-02 15:54:54 -04:00