Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
module picoev
fn test_if_all_file_descriptors_are_properly_initialized() {
mut pv := &Picoev{}
pv.init()
for i in 0 .. max_fds {
assert unsafe { pv.file_descriptors[i] } != unsafe { nil }
assert unsafe { pv.file_descriptors[i].loop_id } == -1
assert unsafe { pv.file_descriptors[i].fd } == 0
}
}