Skip to content

Separated tests and benchmarks; Rewrote project to use .net10 and C#14#40

Open
shadowslasher410 wants to merge 2 commits into
shravan2x:masterfrom
shadowslasher410:master
Open

Separated tests and benchmarks; Rewrote project to use .net10 and C#14#40
shadowslasher410 wants to merge 2 commits into
shravan2x:masterfrom
shadowslasher410:master

Conversation

@shadowslasher410

Copy link
Copy Markdown

Moved benchmarks to new project, so that tests project is just tests. Rewrote tests using xUnit. Rewrote Gameloop.Vdf to use C#14 and .Net10 (more details in changelog.md). Removed several obsolete files, and combined others (VdfReader and VdfWriter, VdfSerializer and VdfSerializerSettings, DynamicProxy and DynamicProxyMetaObject, Vtoken and VTokenType). Replaced changes.txt with Changelog.md. Added Readme.md to inner project with new usage information (old readme still included). Needs a new Nuget release.

Moved benchmarks to new project, so that tests project is just tests. Rewrote tests using xUnit. Rewrote Gameloop.Vdf to use C#14 and .Net10 (more details in changelog.md). Removed several obsolete files, and combined others (VdfReader and VdfWriter, VdfSerializer and VdfSerializerSettings, DynamicProxy and DynamicProxyMetaObject, Vtoken and VTokenType). Replaced changes.txt with Changelog.md. Added Readme.md to inner project with new usage information (old readme still included). Needs a new Nuget release.
@shadowslasher410

Copy link
Copy Markdown
Author

Oh shoot! I just realized that I forgot to add back all the documentation! (I have OCD and ADHD and removed it because I didn't know how much of it would still be applicable, with plans to rewrite it later...) ...Guess later is now.

@shadowslasher410 shadowslasher410 marked this pull request as draft May 8, 2026 22:33
Removed the package I was using for benchmarking from the tests project (benchmarking was originally in there before I moved it to a new project). Added comprehensive documentation (hopefully I didn't go too overboard...). I wrote most of this when I was debugging my test methods, so there are some comments in the methods I was having trouble with explaining what certain blocks do (so I can keep track logic wise). VProperty: added null propagation to  VToken Value's setter. VdfContext: Moved public async Task<VProperty> ReadAsync() to be with the rest of the public methods.
@shadowslasher410

shadowslasher410 commented May 9, 2026

Copy link
Copy Markdown
Author

Full disclosure: I used AI to help me make the documentation, and for help debugging.

@shadowslasher410 shadowslasher410 marked this pull request as ready for review May 9, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant