From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- other/Kermit/test/test_patch2.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 other/Kermit/test/test_patch2.cpp (limited to 'other/Kermit/test/test_patch2.cpp') diff --git a/other/Kermit/test/test_patch2.cpp b/other/Kermit/test/test_patch2.cpp new file mode 100644 index 0000000..603ea96 --- /dev/null +++ b/other/Kermit/test/test_patch2.cpp @@ -0,0 +1,21 @@ +#include +#include +#include +#include +#define LINE "12345678,Clean: (73 50 73 50 73 50 73 50), (0 0 0 0 0 0 0 0)" + +int main () +{ + const string dump_f = string ("DUMP_FILE"); +/* + unsigned short x = 8; + unsigned int y = 0x12345678; + unsigned char z[] = "\x73\x50\x73\x50\x73\x50\x73\x50"; + + Patch *foo = new Patch (z, x, y); +*/ + Patch *foo = new Patch (string (LINE)); + + foo->dump (dump_f); + return 0; +} -- cgit v1.3