#include "src/__support/File/file.h"
#include "test/UnitTest/Test.h"
#include <stdio.h>
File;
constexpr char TEXT[] = …;
constexpr size_t TEXT_SIZE = …;
LIBC_INLINE File *openfile(const char *file_name, const char *mode) { … }
TEST(LlvmLibcPlatformFileTest, CreateWriteCloseAndReadBack) { … }
TEST(LlvmLibcPlatformFileTest, CreateWriteSeekAndReadBack) { … }
TEST(LlvmLibcPlatformFileTest, CreateAppendCloseAndReadBack) { … }
TEST(LlvmLibcPlatformFileTest, CreateAppendSeekAndReadBack) { … }
TEST(LlvmLibcPlatformFileTest, LargeFile) { … }
TEST(LlvmLibcPlatformFileTest, ReadSeekCurAndRead) { … }
TEST(LlvmLibcPlatformFileTest, IncorrectOperation) { … }