Improve test coverage: implement all empty tests and add Util test project#80
Draft
Improve test coverage: implement all empty tests and add Util test project#80
Conversation
…ed test coverage - Implement 20 empty test methods in ImageTests.cs (constructor, equals, JSON, query/modify) - Implement 4 empty tests in PersonTests.cs (constructor, toString, toJson, invalidateId) - Implement 3 empty tests in PersonTagTests.cs (constructor, toString, invalidateIds) - Implement 2 empty tests in FaceTests.cs (constructor properties + descriptor validation, invalidateId) - Implement 3 empty tests in FaceInfoTests.cs (constructor, toJsonString, toJsonStringArray) - Implement 2 empty tests in FaceDistanceInfoTests.cs (fromJsonString, fromJsonStringArray) - Implement 5 empty tests in FileAndPersonTagTests.cs (constructor, arrays, toString) - Implement 2 empty tests in FixedPoint32Tests.cs (constructor + operators, toString) - Implement 2 empty tests in FixedPoint64Tests.cs (constructor + operators, toString) - Implement 4 empty tests in RectangleTests.cs (fromFloat, fromRawValues, constructor, toString) - Add new TCSystem.Util.Tests project with MathExtTests and EqualsUtilTests (10 new tests) - Update TCSystem.slnx and TCSystem.Util.csproj for new test project Agent-Logs-Url: https://github.com/tgoessler/TCSystemCS/sessions/6e83c422-f889-46e8-8505-fa25b23380c4 Co-authored-by: tgoessler <89462205+tgoessler@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
tgoessler
April 12, 2026 20:37
View session
- FactoryTests: CreateWorkerThread, CreateAsyncUpdateHelper, CreateMultipleTasksExecute - AsyncUpdateHelperTests: initial state, BeginUpdateAsync/EndUpdate round trips, ShouldStop and IsUpdatePending under contention, sequential updates - AsyncUpdateHelperExtTests: BeginUpdateScopeAsync and WaitScopeAsync dispose correctly - SemaphoreSlimExtTests: Lock/LockAsync acquire+release, blocking, sequential locks - WorkerThreadTests: ExecuteCommand, ExecuteCommandAsync, ClearOpenCommands, NumOpenActions, IsBusy, OnInitThread, OnDeInitThread, CancellationToken, StopThread, IdleEvent - MultipleTasksExecuteTests: single/multiple actions, WaitAllDone, parallelism limit, cancellation token - Update Thread.csproj to exclude Tests/** - Add Thread/Tests project to TCSystem.slnx under /50 Tests/ Agent-Logs-Url: https://github.com/tgoessler/TCSystemCS/sessions/45f03805-4f5a-4ea6-ab23-685d8c654f77 Co-authored-by: tgoessler <89462205+tgoessler@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.