Unity-Technologies / Unity.Mathematics

The C# math library used in Unity providing vector types and math functions with a shader like syntax
Other
1.38k stars 156 forks source link

Upgrades Unity.Math Performance Tests to use test-framework.performance 2.8 #191

Closed kevinmv closed 3 years ago

kevinmv commented 3 years ago

Unity.Mathematics.Tests relied on test-framework.performance 1.x which allowed .Definition to be used to change the unit measurements were shown in. That API however is not supported in test-framework.performance as for their 2.0 line. Since math and entities are iterated on in the same repository, any project with math tests and entities will result in test-framework.performance being auto-upgraded to the 2.x line since Unity.Entities has a dependency on test-framework.performance 2.3.

This change:

Since this change has many generated files the main changes are in: