General Purpose library for Freestanding C++ and POSIX systems
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
#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{});
|