General Purpose library for Freestanding C++ and POSIX systems
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "gp/tagfs/tagfs.hpp"
|
|
#include "test_scaffold.h"
|
|
|
|
#include <random>
|
|
#include <string>
|
|
|
|
|
|
struct tagfs_test : public test_scaffold {
|
|
tagfs_test() {
|
|
name = __FILE__ ":1";
|
|
}
|
|
|
|
virtual int run() {
|
|
bool result = true;
|
|
auto disk = std::make_unique<gp::memory_vdisk<128*1025>>();
|
|
//auto disk = new gp::memory_vdisk<128*1025>();
|
|
auto fs = gp::tagfs{std::move(disk)};
|
|
fs.format();
|
|
return !result;
|
|
}
|
|
};
|
|
|
|
append_test dummy_56d46qds(new tagfs_test{});
|