some test files changes
This commit is contained in:
parent
a72b00640f
commit
ebec0071a2
Binary file not shown.
@ -68,6 +68,7 @@ public static class TestDtsodV24
|
|||||||
LogOperationTime( "V23 to V24 conversion", 32, ()=>
|
LogOperationTime( "V23 to V24 conversion", 32, ()=>
|
||||||
text = DtsodConverter.ConvertVersion(new DtsodV23(_text), DtsodVersion.V24).ToString()
|
text = DtsodConverter.ConvertVersion(new DtsodV23(_text), DtsodVersion.V24).ToString()
|
||||||
);
|
);
|
||||||
|
File.WriteAllText($"DtsodV24{Путь.Разд}messages.dtsod",text);
|
||||||
LogOperationTime("V24 deserialization", 64, () => dtsod = new DtsodV24(text));
|
LogOperationTime("V24 deserialization", 64, () => dtsod = new DtsodV24(text));
|
||||||
LogOperationTime("V24 serialization", 64, () => text = dtsod.ToString());
|
LogOperationTime("V24 serialization", 64, () => text = dtsod.ToString());
|
||||||
Info.Log("g", "test completed");
|
Info.Log("g", "test completed");
|
||||||
|
|||||||
@ -2,8 +2,9 @@ message:
|
|||||||
{
|
{
|
||||||
type: "sent";
|
type: "sent";
|
||||||
time: "15.12.2021 20:51:24 +03:00";
|
time: "15.12.2021 20:51:24 +03:00";
|
||||||
author_id: 293798876950036480;
|
author_id: -293798876950036480;
|
||||||
channel_id: 913088838761603212;
|
channel_id: 913088838761603212;
|
||||||
message_id: 920734809096077353;
|
message_id: 920734809096077353u;
|
||||||
text: "_$\"\\\\'''\n\ta ыыы000;2;=:%d;```";
|
text: "_$\"\\\\'''\n\ta ыыы000;2;=:%d;```";
|
||||||
|
den: -0.99f;
|
||||||
};
|
};
|
||||||
@ -1,5 +1,5 @@
|
|||||||
uints: [10,20,30,0,0 ];
|
uints: [10,20,30,0,0 ];
|
||||||
floats: [8.2,5.225,-0.9993];
|
floats: [8.2f,5.225f,-0.9993f];
|
||||||
strings: ["aaa","bbb","ccc"];
|
strings: ["aaa","bbb","ccc"];
|
||||||
things: ["aaa",true,-122];
|
things: ["aaa",true,-122];
|
||||||
$complex: {
|
$complex: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user