1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 16:35:40 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
68968c1b0b
style: remove UTF8 BOM 2023-08-26 18:15:04 +01:00
3f08f5270f
feat: add DebugUtility.DrawFunction 2023-04-13 01:48:58 +01:00
98cd96d5cb
fix(test): fix malformed test
The child was not being assigned a new parent, causing GetComponentsInChildrenOnly to return empty array and the subsequent line:

Assert.That(components, Has.Length.EqualTo(1));

was resulting in a test fail.
2023-04-10 13:45:39 +01:00
f4d6c9083b
refactor(test): remove lingering IEnumerator test
Remant from 0b5bb074c8
2023-04-10 13:44:37 +01:00
0b5bb074c8
refactor(test): remove IEnumerator tests
Use synchronous NUnit tests
2023-04-10 13:38:56 +01:00
77ab429f72
refactor: remove Copy/Move component functionality
This may be returned at a later point.
2023-04-10 13:26:38 +01:00
ad2d33aa88
style(test): use constraint API for length check 2023-04-07 01:34:34 +01:00
dc6d984fa8
test: suppress ReSharper.Unity.InefficientPropertyAccess
This is false positive being thrown by the analyzer. The values are - in fact - changing before being read each time.
2023-04-07 01:34:08 +01:00
420ec2433a
feat: add Component move/copy
As usual, experimental API - subject to change.
2023-04-07 01:21:56 +01:00
fcdcf54aa3
test: use NUnit constraint API in X10D.Unity.Tests (#76) 2023-04-05 22:51:59 +01:00
5d2313fa20
test: replace playmode tests with NUnit tests (#76)
Using yield break; in a coroutine which does not need to be one, that's a paddlin'.
2023-04-05 22:51:59 +01:00
77836d51fc
fix(test): fix ref as of bc3dedfa7d 2023-04-02 04:54:58 +01:00
3607034818
[X10D.Unity] Add tests for Color(32).Deconstruct 2023-02-27 13:55:06 +00:00
da5c350117
Add edge case for WaitForTimeSpan unit test
Read comment for more details
2022-11-29 18:09:41 +00:00
af622a8ef7
Allow for minor differentiation in equality test 2022-11-29 17:45:27 +00:00
dcbe591d66
[X10D.Unity] Add various yield instructions 2022-07-14 12:00:55 +01:00
c0395feba3
Add GetClosestConsoleColor (#66) 2022-07-13 14:18:12 +01:00
46bfa17b93
Add vector and point component rounding (#65) 2022-07-13 12:09:37 +01:00
de7a621545
[ci skip] Rename DrawBox to DrawWireCube 2022-06-02 12:24:26 +01:00
e501f3b75b
[ci skip] Call AddVertex, not AddPoint 2022-06-01 19:49:09 +01:00
793fa47524
Add DebugEx integration tests 2022-06-01 19:44:15 +01:00
74af813d78
Add RectInt conversions 2022-06-01 11:06:24 +01:00
28dd88cf0a
Add Vector2/3Int method parity
* Added Vector2/3Int.Deconstruct
* Added Vector2/3Int.WithX
* Added Vector2/3Int.WithY
* Added Vector3Int.WithZ
* Added Vector2Int.ToSystemPoint
* Added Vector2Int.ToSystemSize
2022-05-31 11:41:29 +01:00
f35f398d7f
Add conversions between Size(F)/Point(F)/Vector and Rect/Rectangle(F) 2022-05-28 14:19:46 +01:00
5aea71465a
Add UnityEngine/System.Drawing color conversions 2022-05-16 10:41:53 +01:00
e23aa13fda
Fix alpha values in Color32Tests 2022-05-16 10:40:32 +01:00
d312d05f7a
Add vector tuple deconstruction 2022-05-16 10:30:55 +01:00
048e0a22f7
Add Singleton<T> class 2022-05-13 09:09:25 +01:00
1428618ca9
Add System.Numerics/UnityEngine vector/quaternion conversions 2022-05-09 20:40:55 +01:00
4d19e2f64c
Add Vector.With* methods (resolves #56) 2022-05-09 10:33:21 +01:00
d904daf431
Add Color.With* methods (resolves #55) 2022-05-09 10:01:03 +01:00
176ad9fa09
[ci skip] Define colors as fields 2022-05-09 09:59:03 +01:00
df0257f498
Add GameObject.SetLayerRecursively (#57) 2022-05-08 22:37:03 +01:00
aa30abea93
Add Color.Inverted (#54) 2022-05-08 19:52:49 +01:00
6c24231a2c
[ci skip] Apply root namespace X10D.Unity 2022-05-08 12:17:57 +01:00
7da6dc1009
Add tests for X10D.Unity 2022-05-08 12:09:30 +01:00