shrub/tests/sys/zuse/balk.hoon

18 lines
417 B
Plaintext
Raw Normal View History

/+ *test
|%
2023-04-07 21:44:31 +03:00
++ le-path `path`/~hastuc-dibtux/15/22/c/x/3/base/sys/kelvin
++ hastuc-dibtux [~hastuc-dibtux 15 22]
++ clay-x [%c %x %ud 3]
++ test-en-path
%+ expect-eq
2023-04-07 21:44:31 +03:00
!>(le-path)
!> %- en-path:balk
2023-04-07 21:44:31 +03:00
[hastuc-dibtux clay-x /base/sys/kelvin]
++ test-de-path
=/ bal=balk
2023-04-07 21:44:31 +03:00
(de-path:balk le-path)
%+ expect-eq !>(bal)
!> ^- balk
2023-04-07 21:44:31 +03:00
[hastuc-dibtux clay-x /base/sys/kelvin]
--