voxeltycoon-community / voxel-tycoon-open-library

Community-made open-source library of functions made for making mods for the game Voxel Tycoon
GNU Affero General Public License v3.0
3 stars 2 forks source link

Connection filter system tests #38

Open evertn opened 2 years ago

evertn commented 2 years ago

ConnectionControllerTests (new)

(ConnectionControllerTests,cs)

InvalidateSiblingsPatch

(InvalidateSiblingsPatch.cs)

InvalidateSiblingsPatchTests (new)

(InvalidateSiblingsPatchTests.cs)

RequireLazyManagerAttribute (new)

(RequireLazyManagerAttribute.cs)

This attribute can be added to a test which requires a LazyManager<T>-class. Instantiating a LazyManager<T>-class outside Unity does not work. This attribute will create a usable LazyManager<T>-class which cán be used outside Unity.

TestHelpers

(TestHelpers.cs)

Vtol

(Vtol.cs)

Files