From 21ba17c7b6c925d314b5e39150b6cf4ae8bf09f5 Mon Sep 17 00:00:00 2001 From: ag Date: Fri, 20 Sep 2024 00:21:06 +0300 Subject: [PATCH] test gen without exept of overflow --- .vscode/settings.json | 51 ------------------------------------------- cache_test.cpp | 6 ++--- 2 files changed, 3 insertions(+), 54 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 878e505..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "files.associations": { - "iostream": "cpp", - "array": "cpp", - "atomic": "cpp", - "bit": "cpp", - "*.tcc": "cpp", - "cctype": "cpp", - "clocale": "cpp", - "cmath": "cpp", - "compare": "cpp", - "concepts": "cpp", - "cstdarg": "cpp", - "cstddef": "cpp", - "cstdint": "cpp", - "cstdio": "cpp", - "cstdlib": "cpp", - "cwchar": "cpp", - "cwctype": "cpp", - "deque": "cpp", - "list": "cpp", - "string": "cpp", - "unordered_map": "cpp", - "vector": "cpp", - "exception": "cpp", - "algorithm": "cpp", - "functional": "cpp", - "iterator": "cpp", - "memory": "cpp", - "memory_resource": "cpp", - "numeric": "cpp", - "random": "cpp", - "string_view": "cpp", - "system_error": "cpp", - "tuple": "cpp", - "type_traits": "cpp", - "utility": "cpp", - "initializer_list": "cpp", - "iosfwd": "cpp", - "istream": "cpp", - "limits": "cpp", - "new": "cpp", - "numbers": "cpp", - "ostream": "cpp", - "stdexcept": "cpp", - "streambuf": "cpp", - "typeinfo": "cpp", - "fstream": "cpp", - "sstream": "cpp" - } -} \ No newline at end of file diff --git a/cache_test.cpp b/cache_test.cpp index ef2c685..97612a3 100644 --- a/cache_test.cpp +++ b/cache_test.cpp @@ -46,8 +46,8 @@ int cache_test(std::string file_name) { return 0; } -int main() { - cache_test("tests.txt"); - +int main(int argc, char* argv[]) { + cache_test(argv[1]); + }