done refactoring tests

This commit is contained in:
2025-08-20 13:50:57 +01:00
parent 0dd7a69777
commit 4d77aed6ef
5 changed files with 319 additions and 299 deletions

8
test/test-utils.sml Normal file
View File

@@ -0,0 +1,8 @@
structure TestUtils =
struct
fun init buffer =
AppType.init (buffer, 0, 0, Time.now ())
fun update (app, cmd) =
AppUpdate.update (app, cmd, Time.now ())
end