Benchmark for execution test written

This commit is contained in:
micialware committed 2025-08-07 23:39:42 +03:00
1 parent 0f355b9df3
commit c29db73a0e
12 files changed
+237 -28

No files matched your search

+8 -1
View File
@@ -76,7 +76,14 @@ class Program
using (var disposingPrinter = factory.Create("Test"))
{
disposingPrinter.SetFingerPrint(new[] { 1, 2, 3 }).ContinueWith(r => { Console.WriteLine(r.Status); });
disposingPrinter.SetFingerPrint(new[] { 1, 2, 3 }).ContinueWith(r =>
{
Console.WriteLine(r.Status);
if (r.Status == TaskStatus.Faulted)
{
Console.WriteLine(r.Exception);
}
});
await disposingPrinter.IntTest(new MyData { Id = 5, Score = 7, Name = "Test" });
DemoCheck.CreatingPrinter = true;