update test tiddlers

This commit is contained in:
pmario 2024-04-16 13:19:36 +02:00
parent 04f9477ec7
commit e57d459473
3 changed files with 2 additions and 37 deletions

View File

@ -1,25 +0,0 @@
created: 20240415102801809
draft.of: test-collatz
draft.title: test-collatz
modified: 20240416094922377
tags:
title: Draft of 'test-collatz'
type: text/vnd.tiddlywiki
\procedure collatz(n)
<% if [<n>match[1]] %>
1
<% elseif [<n>remainder[2]match[1]] %>
<<n>> <$button>→</$button> <$transclude $variable="collatz" n = {{{ [<n>multiply[3]add[1]] }}}/>
<% else %>
<<n>> <$button>→</$button> <$transclude $variable="collatz" n = {{{ [<n>divide[2]] }}}/>
<% endif %>
\end
\procedure test(x:10)
<$let tv-UNSAFE-max-widget-tree-depth="2000">
<$transclude $variable=collatz n=<<x>>/>
</$let>
\end
<<test 77031>>

View File

@ -1,11 +0,0 @@
created: 20240415124530887
draft.of: test-recursive button
draft.title: test-recursive button
modified: 20240416094919710
tags:
title: Draft of 'test-recursive button'
type: text/vnd.tiddlywiki
<$button>
<$transclude/>
</$button>

View File

@ -1,9 +1,10 @@
created: 20240415124530887
modified: 20240416092728701
modified: 20240416111839904
tags:
title: test-recursive button
type: text/vnd.tiddlywiki
\whitespace trim
<$button>
<$transclude/>
</$button>