Add contiguous linked list type for the new file store
This commit is contained in:
10
deps/ox/src/ox/fs/test/tests.cpp
vendored
10
deps/ox/src/ox/fs/test/tests.cpp
vendored
@@ -13,6 +13,7 @@
|
||||
#include <string>
|
||||
#include <ox/fs/fs.hpp>
|
||||
#include <ox/std/std.hpp>
|
||||
#include <ox/fs/filestore/linkedlist.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace ox;
|
||||
@@ -326,6 +327,15 @@ map<string, int(*)(string)> tests = {
|
||||
return retval;
|
||||
}
|
||||
},
|
||||
{
|
||||
"LinkedList::insert",
|
||||
[](string) {
|
||||
ox::fs::LinkedList<uint32_t> list;
|
||||
list.malloc(50);
|
||||
list.firstItem();
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user