Commit Graph

1192 Commits

Author SHA1 Message Date
Oliver Booth 8e6796607c
docs: explain use of ref return 2023-04-05 23:19:08 +01:00
Oliver Booth 4a0e3c10d7
test: return coverage to 100% (#76) 2023-04-05 23:18:14 +01:00
Oliver Booth fcdcf54aa3
test: use NUnit constraint API in X10D.Unity.Tests (#76) 2023-04-05 22:51:59 +01:00
Oliver Booth 744f5e906b
test: remove redundant quality checks (#76) 2023-04-05 22:51:59 +01:00
Oliver Booth dbeb13efcd
test: fix expected/actual value swap (#76) 2023-04-05 22:51:59 +01:00
Oliver Booth ab62db2b37
chore: switch from MSTest to NUnit (#76) 2023-04-05 22:51:59 +01:00
Oliver Booth 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
Oliver Booth e84eef60e6
chore: suppress tfm support build warnings 2023-04-05 17:37:26 +01:00
Oliver Booth 21271314af
feat: add generic math where possible in MathUtility 2023-04-05 17:36:49 +01:00
Oliver Booth b91aad6305
feat: convert DigitalRoot and Mod to generic math 2023-04-05 15:35:25 +01:00
Oliver Booth b819e6a418
refactor: revert 47f3a138aa
Generic math features will be built in a feature branch to avoid merge conflicts with develop.
2023-04-05 15:13:21 +01:00
Oliver Booth 87a85b82d9
feat: add Unpack for IBinaryInteger<T>
This introduces an experiment, to add support for generic math in X10D. So far, build and tests remain passing - this is a good sign. There is potential here.

This API is subject to change and may be removed without warning.
2023-04-05 15:11:43 +01:00
Oliver Booth 47f3a138aa
feat: add Unpack for IBinaryInteger<T>
This introduces an experiment, to add support for generic math in X10D. So far, build and tests remain passing - this is a good sign. There is potential here.

This API is subject to change and may be removed without warning.
2023-04-05 15:06:02 +01:00
Oliver Booth 3ab1ab0b41
style: remove redundant CLSCompliant on internal methods 2023-04-05 13:42:02 +01:00
Oliver Booth 512445793e
build: move meta tools to subdir 2023-04-05 11:21:58 +01:00
Oliver Booth 65d8242f5c
Merge branch 'develop' into main 2023-04-05 11:09:30 +01:00
Oliver Booth dc1b9d6c04
feat: add math extensions for BigInteger 2023-04-05 11:05:53 +01:00
Oliver Booth d09ea69e13
[ci skip] docs: update upm stable in README 2023-04-04 21:25:56 +01:00
Oliver Booth 5e4af9a9e1
style: move MethodImplOptions to resource file
Prevents repetition through #if directives in every file
2023-04-04 10:34:16 +01:00
Oliver Booth b8c3a5121a
feat: add DateOnly extensions 2023-04-04 10:10:55 +01:00
Oliver Booth c2bb08a9f3
ci: run dotnet workflow for develop 2023-04-03 18:21:21 +01:00
Oliver Booth a717976229
style!: rename parameter for DateTime.Age and DateTimeOffset.Age
BREAKING CHANGE: "asOf" has been renamed to "referenceDate". Consumers using named parameters beware.
2023-04-03 18:20:21 +01:00
Oliver Booth 713c55a5b4
docs: update version in CHANGELOG 2023-04-03 18:17:40 +01:00
Oliver Booth 86f72b9d43
build: bump to 4.0.0 2023-04-03 18:14:03 +01:00
Oliver Booth 3fede7e107
[ci skip] merge branch 'develop' into main 2023-04-03 18:12:40 +01:00
Oliver Booth d1e4243227
[ci skip] ci: only publish nightly on push to main 2023-04-03 18:11:26 +01:00
Oliver Booth 7ff391a52e
Merge pull request #68 from oliverbooth/develop
3.2.0 update
2023-04-03 17:51:01 +01:00
Oliver Booth e964e4e53e
docs: bump version in README to 3.2.0 2023-04-03 17:30:06 +01:00
Oliver Booth 0e64819b7d
[ci skip] docs: add Pulse to CHANGELOG 2023-04-03 17:29:45 +01:00
Oliver Booth 514e5b12b0
feat: add MathUtility.Pulse (resolves #60) 2023-04-03 17:26:03 +01:00
Oliver Booth 1939bbe4ba
feat: add MathUtility.Sawtooth (#60) 2023-04-03 17:15:11 +01:00
Oliver Booth c7370c39fd
feat: add MathUtility.Sigmoid (#60) 2023-04-03 16:38:58 +01:00
Oliver Booth 654d5b5b08
feat: Add MathUtility.ExponentialDecay (#60) 2023-04-03 16:21:43 +01:00
Oliver Booth 9cf003481c
refactor: move exception messages to resource file (#27) 2023-04-03 15:57:31 +01:00
Oliver Booth 3c85ae6f64
refactor: move old exception messages from Resources.resx (#27) 2023-04-03 15:50:35 +01:00
Oliver Booth d27f4caef7
feat: add MathUtility.SmoothStep (#60) 2023-04-03 15:47:18 +01:00
Oliver Booth 105ff81713
test: add tests for MathUtility.Lerp 2023-04-03 15:02:03 +01:00
Oliver Booth 3f147c98b2
feat: add double overload for Bias (#60) 2023-04-03 15:00:13 +01:00
Oliver Booth f131c281cf
feat: add MathUtility.Bias (#60) 2023-04-03 14:41:32 +01:00
Oliver Booth a748010a38
refactor: remove TODOs (resolves #71) 2023-04-03 14:19:47 +01:00
Oliver Booth b68c804b46
test: exclude uncoverable Age overload from coverage 2023-04-03 14:18:02 +01:00
Oliver Booth 15d0f93f8b
refactor: remove Polyhedron.IsConvex 2023-04-03 14:16:31 +01:00
Oliver Booth 9417ee6be1
test: bring coverage to 100% for Drawing 2023-04-03 14:13:32 +01:00
Oliver Booth 8b4fd45e05
fix(test): assert vertex count against Polygon.Empty 2023-04-03 13:54:23 +01:00
Oliver Booth 262f191799
fix(test): assert ArgumentNullException only for .NET < 6 2023-04-03 13:47:59 +01:00
Oliver Booth 9985652c40
test: 100% coverage on RandomExtensions 2023-04-03 13:43:07 +01:00
Oliver Booth b806e50ec1
[ci skip] style: remove unused using directives 2023-04-03 13:42:53 +01:00
Oliver Booth 6ef48fc3b9
test: 100% coverage on IntrinsicUtility (#73) 2023-04-03 13:41:41 +01:00
Oliver Booth 783c4b0f8e
test: add tests for integer Pack (#73) 2023-04-03 01:28:01 +01:00
Oliver Booth cbbfa6d947
fix: fix SSE2 implementation of PackInt32
Credit due to @RealityProgrammer, thank you.
2023-04-03 00:42:29 +01:00