Benchmark for execution test written

This commit is contained in:
2025-08-07 23:39:42 +03:00
parent 0f355b9df3
commit c29db73a0e
12 changed files with 237 additions and 28 deletions
+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;