Commit Graph

622 Commits

Author SHA1 Message Date
Oliver Booth 5d3a82a33a
Add IEnumerable<T>.For and ForEach (#50) 2022-05-01 22:25:37 +01:00
Oliver Booth be845bccf2
Bump to 3.1.0 2022-05-01 22:05:15 +01:00
Oliver Booth dd37139b1a
[ci skip] Merge branch 'develop' into main 2022-05-01 09:44:55 +01:00
Oliver Booth dd8f0fb318
[ci skip] Add FUNDING.yml 2022-05-01 09:44:34 +01:00
Oliver Booth c27fa3ceb3
[ci skip] Merge branch 'main' into develop
Rename master to main
2022-04-30 17:03:34 +01:00
Oliver Booth ae52003039
[ci skip] [github actions] Rename master to main 2022-04-30 17:01:01 +01:00
Oliver Booth 5ad510a688
[ci skip] Merge branch 'develop' 2022-04-30 16:56:56 +01:00
Oliver Booth e2804a6630
[ci skip] Update 3.0.0 contribution guidelines 2022-04-30 16:56:36 +01:00
Oliver Booth 032f57bdbb
[ci skip] Merge branch 'develop' 2022-04-30 14:57:39 +01:00
Oliver Booth d99987d5d8
[ci skip] Remove table of contents, add upm branch notice 2022-04-30 14:57:20 +01:00
Oliver Booth a5eb54cd3b
[ci skip] Merge branch 'develop' 2022-04-30 14:24:35 +01:00
Oliver Booth 3a118e1890
[ci skip] Fix v3.0.0 tag link in changelog 2022-04-30 14:24:18 +01:00
Oliver Booth 4bc74f1ba7
[ci skip] Merge branch 'develop' 2022-04-30 14:23:04 +01:00
Oliver Booth 00ea643a13
[ci skip] Remove subfolder README sentence 2022-04-30 14:22:16 +01:00
Oliver Booth b16e5a9de9
3.0.0 Update (#43)
For a full list of changes, see [CHANGELOG.md](CHANGELOG.md)
2022-04-30 14:13:16 +01:00
Oliver Booth 8492c00bdf
Remove dead README anchors 2022-04-30 14:08:09 +01:00
Oliver Booth aaf0e67679
Update README and CHANGELOG 2022-04-30 14:07:13 +01:00
Oliver Booth 6505299c00
Move Stream extensions to IO namespace (#7)
* Finalizes unit tests, 99% coverage
* Update CHANGELOG
2022-04-30 13:52:34 +01:00
Oliver Booth 842053d571
[ci skip] Remove trailing whitespace 2022-04-30 13:09:47 +01:00
Oliver Booth a6139a5720
Migrate string extensions to appropriate namespaces (#7)
Introduces more tests
2022-04-30 13:08:39 +01:00
Oliver Booth c13cc934b6
Move ListOfByteExtensions to IO namespace
Also introduces unit tests
2022-04-30 11:59:03 +01:00
Oliver Booth 5d5bc1e384
Add tests for NextUnitVector2/3 and NextRotation(Uniform) 2022-04-30 11:34:15 +01:00
Oliver Booth 8ba5a5ad19
Remove empty lines and unnecessary namespace imports 2022-04-30 11:33:48 +01:00
Oliver Booth a7631b0efe
Add MultiplicativePersistence for integer types 2022-04-30 11:29:09 +01:00
Oliver Booth 3ae2827fd5
Fix precision errors by specifying delta 1e-6 2022-04-30 11:07:57 +01:00
Oliver Booth 7577fc1c99
"Fix" weird edge-case with Atanh returning incorrect value 1x10^-16 2022-04-30 10:41:27 +01:00
Oliver Booth 14148f751a
Add tests for ToConnectionString/ToGetParameters 2022-04-30 10:36:03 +01:00
Oliver Booth 49e5482b8f
Document ArgumentNullException (#15) 2022-04-30 10:35:50 +01:00
Oliver Booth e757ce08a0
Add argument null check (#42) 2022-04-30 10:35:21 +01:00
Oliver Booth 2547d4a227
Add comprehensive math tests
Introduces extension methods for decimal
2022-04-30 10:15:36 +01:00
Oliver Booth 8d4f82e964
Remove Lerp extension methods
These extension methods lead to confusion with the parameter order, and so the advice now is to simply use MathUtility.Lerp directly
2022-04-29 23:24:59 +01:00
Oliver Booth 155a604812
Add FromUnixTime(Milli)Seconds for unsigned types 2022-04-29 23:21:00 +01:00
Oliver Booth cacdf148d5
Add RotateLeft and RotateRight for integer types 2022-04-29 23:16:37 +01:00
Oliver Booth 2922b628f2
Decorate Pure functions with PureAttribute 2022-04-29 22:14:39 +01:00
Oliver Booth 06413fd710
Add comprehensive IsPrime tests 2022-04-29 21:57:41 +01:00
Oliver Booth 9006bdffa2
Add IDictionary.AddOrUpdate 2022-04-29 18:10:41 +01:00
Oliver Booth d1de1625f2
Move ToHost/NetworkOrder to Net namespace (#7) 2022-04-29 17:45:43 +01:00
Oliver Booth d5e6febd5c
[ci skip] [github actions] Use correct version suffix for (pre)release 2022-04-29 11:29:35 +01:00
Oliver Booth 0f40bb2e31
[ci skip] Update MSTest 2.2.10 2022-04-29 11:24:56 +01:00
Oliver Booth e7bdb20b19
Add tests for reflection extensions 2022-04-29 11:17:02 +01:00
Oliver Booth dc3de3816e
Add T.RepeatValue(int) 2022-04-29 11:16:44 +01:00
Oliver Booth d80367c00c
Fix typo in ExceptionMessages 2022-04-29 11:14:53 +01:00
Oliver Booth 5251408b15
Rename local IEnumerable to "enumerable" 2022-04-29 11:14:33 +01:00
Oliver Booth c0c41326fc
Add defaultValue overload for SelectFromCustomAttribute 2022-04-29 11:13:59 +01:00
Oliver Booth 164c4e4455
Fix exception message formatting in HasCustomAttribute 2022-04-29 11:13:41 +01:00
Oliver Booth ba6c400a79
Rename UnpackBits to Unpack, PacknBit to Pack(CLR type) 2022-04-28 22:58:58 +01:00
Oliver Booth 4f3dd908c6
Remove evil hack for 8-bit pack/unpack 2022-04-28 22:44:01 +01:00
Oliver Booth ef9c186684
Add IsLeapYear for DateTime(Offset) and numeric types 2022-04-28 10:27:32 +01:00
Oliver Booth e08274189a
Add Pack/Unpack bits
Allows a bool list (no more than 64 in length) to be packed to an integer, which can be unpacked again
2022-04-28 09:47:48 +01:00
Oliver Booth b743adb445
Rename n.To(n) to n.RangeTo(n) 2022-04-27 21:58:46 +01:00