Remora / Remora.Discord

A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
GNU Lesser General Public License v3.0
243 stars 46 forks source link

Add tests for Remora.Discord.Caching #246

Closed uwx closed 1 year ago

uwx commented 1 year ago

Adds unit tests for basic functionality of the cache system. Note that these tests will not pass as the cache configuration functionality is broken, which is fixed by #245.

Nihlus commented 1 year ago

If these tests are part of #245's functionality, they should probably be part of that PR as well.

uwx commented 1 year ago

If these tests are part of #245's functionality, they should probably be part of that PR as well.

Technically not, they are just general regression tests for caching that were missing from the library. Even if that one doesn't get merged, this one should still be.