Logo
Explore Help
Register Sign In
humza/sml-projects
1
0
Fork 0
You've already forked sml-projects
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
670 Commits 1 Branch 0 Tags
4665141a1d275fe06f552008c144881968dcd882
Commit Graph

8 Commits

Author SHA1 Message Date
Humza Shahid
d9380bcb64 pass regression test by modifying 'SearchList.backtrackRange' function. The modification that worked was swapping two if-statements around: first we check if the string position is 0 (and loop to check the previous string if so); in the else case, we check if the searchPos <= 1 (which signals for us to exit backtracking). Swapping the order of the if-statements means that, when we exit the loop, we always exit with string that is at this position. 2025-09-27 12:40:28 +01:00
Humza Shahid
39db9c652e add new test where we receive an exception when deleting while there is a search 2025-09-27 12:31:29 +01:00
Humza Shahid
2e77175187 refactor tests a bit by putting LineGap-creation functionality into TestUtils.init, and make sure we also add a Unix-style newline to the end of the string if it doesn't already have one 2025-09-20 03:44:48 +01:00
Humza Shahid
4d77aed6ef done refactoring tests 2025-08-20 13:50:57 +01:00
Humza Shahid
b7cdbfbe02 log another exception-throwing test 2025-08-04 10:59:01 +01:00
Humza Shahid
ce0f700253 abstract exception handler/logger into its own file 2025-08-04 09:03:47 +01:00
Humza Shahid
f4c9039af1 fix failing unit test in search-list.sml/build-search-list.sml: perform bounds checking into array 2025-08-04 08:33:48 +01:00
Humza Shahid
d4532e37cf add boilerplate to ease regression testing 2025-08-04 07:14:00 +01:00
Powered by Gitea Version: 1.25.5 Page: 441ms Template: 23ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API