shrub/pkg/arvo/tests/run/hints.hoon

53 lines
1.2 KiB
Plaintext
Raw Normal View History

:: Test that these hints do not crash the runtime
:: there is no need to include a test for dynamic %bout
:: since all hoon tests exersize dynamic %bout
|%
:: test that these trace hints
2022-02-24 13:52:56 +03:00
:: are safe to run or ignore
2022-06-15 18:06:56 +03:00
++ test-12-hilt-hela
2022-02-24 13:52:56 +03:00
~> %hela
~
2022-06-15 18:06:56 +03:00
++ test-11-hint-hela
~> %hela.[1 leaf+"test-11-hint-hela ~"]
~
2022-06-15 18:06:56 +03:00
++ test-10-hilt-nara
2022-02-24 13:52:56 +03:00
~> %nara
~
2022-06-15 18:06:56 +03:00
++ test-09-hint-nara
~> %nara.[1 leaf+"test-09-hint-nara ~"]
~
:: test that these memory-report hints
:: are safe to run or ignore
2022-06-15 18:06:56 +03:00
++ test-08-hilt-meme
~> %meme
~
2022-06-15 18:06:56 +03:00
++ test-07-hint-meme
~> %meme.[1 leaf+"test-07-hint-meme ~"]
~
:: test that theses bytecode-report hints
2022-02-24 13:52:56 +03:00
:: are safe to run or ignore
2022-06-15 18:06:56 +03:00
++ test-06-hilt-xray
~> %xray
2022-02-24 13:52:56 +03:00
~
2022-06-15 18:06:56 +03:00
++ test-05-hint-xray
~> %xray.[1 leaf+"test-05-hint-xray ~"]
~
:::: these tests show, but don't prove, if xray reads all internal bytecode
::++ test-04-hint-xray-add
:: ~> %xray.[1 leaf+"(add 1 2)"]
:: (add 1 2)
2022-06-15 22:18:24 +03:00
++ test-03-hint-xray-meme
~> %xray.[1 leaf+"(meme)"]
~> %meme
~
++ test-02-hint-xray-combo
^- @ud
~> %xray
~>(%meme (mul 1 2))
2022-06-15 18:06:56 +03:00
:::: test that the hilt bout hint
:::: is safe to run or ignore
++ test-01-hilt-bout
~> %bout
~
--