Commit Graph

588 Commits

Author SHA1 Message Date
Oliver Booth f2ed6aebce
Fix endianness reversal for float/double 2022-05-07 23:43:19 +01:00
Oliver Booth e6a858c7e7
Fix ulong.RotateRight left-shift 2022-05-07 23:37:40 +01:00
Oliver Booth d405faf6e2
Add IsEmoji method
Emoji validation is performed by using a regex which is generated from Twemoji. Source: https://raw.githubusercontent.com/twitter/twemoji-parser/master/src/lib/regex.js
2022-05-07 23:37:14 +01:00
Oliver Booth 064011cb68
Format csproj 2022-05-07 23:16:17 +01:00
Oliver Booth ed2920f8a0
Multi-target X10D.Tests 2022-05-07 23:16:06 +01:00
Oliver Booth 39ccf1f198
Denote CLS-noncompliant tests as such 2022-05-07 23:14:07 +01:00
Oliver Booth 0e726e9cd8
Cast sbyte values
Rename test file to SByteTests.cs
2022-05-07 23:12:28 +01:00
Oliver Booth 3434840c39
[ci skip] Fix version suffix in nightly job 2022-05-05 18:15:45 +01:00
Oliver Booth c43bb88d79
[ci skip] Update changelog with 3.1.0 updates 2022-05-05 18:06:35 +01:00
Oliver Booth f257aebc28
Add .NET Standard 2.1 target, reintroduce Unity support 2022-05-05 18:00:38 +01:00
Oliver Booth 2d51f65834
Merge pull request #53 from oliverbooth/52-use-argumentnullexceptionthrowifnull-instead-of-is-null-check
Use ArgumentNullException.ThrowIfNull instead of is null check (resolves #52)
2022-05-04 10:54:23 +01:00
Oliver Booth 2a6bfadf58
Call ArgumentNullException.ThrowIfNull 2022-05-04 10:46:44 +01:00
Oliver Booth adf2281f21
Add DisposeAll(Async) and ClearAndDisposeAll(Async) 2022-05-02 22:31:09 +01:00
Oliver Booth 7b8c344ddd
Remove unused namespace import 2022-05-02 22:27:31 +01:00
Oliver Booth fd53b41610
Move EnumerableTests to Collections namespace 2022-05-02 22:27:21 +01:00
Oliver Booth ed27044a3b
Merge pull request #51 from oliverbooth/50-ienumerable-for_and_foreach
IEnumerable<T>.For and ForEach
2022-05-01 22:32:17 +01:00
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