Commit Graph

310 Commits

Author SHA1 Message Date
Oliver Booth 8eaa01b505
test: TryWriteBytes should return false for smol span 2024-06-12 11:59:47 +01:00
Oliver Booth 68197ef5c7
fix: fix order of bytes in decimal write bytes methods 2024-06-12 11:57:27 +01:00
Oliver Booth d2924d7ac0
refactor!: remove extensions for Progress<T> 2024-06-12 04:00:25 +01:00
Oliver Booth 4a80c93cc2
chore!: drop net7.0 target (#90) 2024-06-12 03:45:51 +01:00
Oliver Booth 195e25e0e3
feat: add range-based foreach 2024-06-12 03:40:34 +01:00
Oliver Booth fdf1465730
test: coverlet output xml 2024-02-17 17:23:02 +00:00
Oliver Booth f679ec294e
fix(tests): add test to fix coverage on DateOnly.Deconstruct 2024-02-12 02:35:17 +00:00
Oliver Booth 7d911b9124
fix(tests): assert correct exception for IList<T>.RemoveRange 2024-01-06 17:11:47 +00:00
Oliver Booth 87f5b39f3b
Merge branch 'release/4.0.0' into main 2024-01-06 14:27:05 +00:00
NN Huy Hoang fa0ece667e Obsolete AdvSimd intrinsic implementations, minor improvements in certain areas 2023-11-22 22:29:46 +07:00
Oliver Booth d5c63feb5c
fix(tests): remove ambiguous call to Span<T>.Count (#88) 2023-11-14 16:57:25 +00:00
Oliver Booth ba451a0144
chore: update dependencies
* Microsoft.Extensions.Hosting 8.0.0
* Microsoft.NET.Test.Sdk 17.8.0
* NSubstitute 5.1.0
* NUnit 3.14.0
* NUnit3Analyzers 3.9.0
* NUnit.Analyzers 3.9.0
* coverlet.collector 6.0.0
* System.Reactive 6.0.0
2023-11-14 16:56:40 +00:00
Oliver Booth b6b90bf1fd
build: target .NET 8 (#88) 2023-11-14 16:49:53 +00:00
Oliver Booth 8f9fc6ef7a
refactor: remove target-conditional branches (#87) 2023-09-13 00:46:12 +01:00
Oliver Booth 89f8ceb474
chore!: remove netstandard2.1/netcoreapp3.1 target (#87) 2023-09-13 00:33:07 +01:00
Oliver Booth b7d9a255e5
refactor!: add Bytes suffix to IO methods 2023-08-28 13:15:19 +01:00
Oliver Booth f3023dbd9f
tests: add IsTestProject:true to csproj 2023-08-28 12:50:26 +01:00
Oliver Booth ff6b8d5465
feat: add Span overloads to complement char.Repeat/string.Repeat 2023-08-27 13:58:15 +01:00
Oliver Booth 56c3f117c7
style: discard pure return of Randomize 2023-08-27 13:45:24 +01:00
Oliver Booth 5220f386aa
style: amend 2fb91d5175 2023-08-27 13:45:07 +01:00
Oliver Booth dfa0bd4e11
style: add braces around parent for loop 2023-08-27 13:39:20 +01:00
Oliver Booth 20f81c5c97
test: use more meaningful test names 2023-08-27 13:38:58 +01:00
Oliver Booth 0d02c88ef6
test: use fluent Has.Length 2023-08-27 13:38:45 +01:00
Oliver Booth e115a8fa0e
style: format document 2023-08-27 13:38:31 +01:00
Oliver Booth 2fb91d5175
test: suppress CA1307 and add StringComparison overload calls 2023-08-27 13:38:14 +01:00
Oliver Booth 43d2e8feea
test: add tests for MDLink 2023-08-27 13:29:09 +01:00
Oliver Booth da08d23aee
style(tests): use more meaningful test names 2023-08-27 03:48:56 +01:00
Oliver Booth dc0b6abdc4
style(tests): use Has.Length for length assertion 2023-08-27 03:48:41 +01:00
Oliver Booth 45ffd08dda
tests: wrap multiple asserts in Assert.Multiple 2023-08-27 03:48:22 +01:00
Oliver Booth fbd3e951c4
fix: discard Repeat return value 2023-08-27 03:47:58 +01:00
Oliver Booth c6dbc4cebe
style: cap lines to 130 in length 2023-08-27 03:45:12 +01:00
Oliver Booth 5d936b5385
feat: add markdown formatting methods 2023-08-27 03:37:01 +01:00
Oliver Booth 9caa0acb7b
style: remove UTF8 BOM 2023-08-26 18:11:29 +01:00
Oliver Booth 71b0bec85c
style(test): format span tests 2023-08-24 01:53:24 +01:00
Oliver Booth 28d7bee262
fix(tests): add support for trace logging during tests 2023-08-23 14:18:04 +01:00
Oliver Booth 0bf89bb82a
refactor!: change exception thrown by GetHash and TryWriteHash
The methods no longer throw TypeInitializationException, and instead now throw ArgumentException.
2023-08-23 14:17:42 +01:00
Oliver Booth 5c21c86a52
refactor!: replace Endianness enum with explicit Big/Little methods 2023-08-23 14:15:52 +01:00
Oliver Booth fa375e7758
refactor: conditionally import System.Runtime.Intrinsics.X86 2023-08-22 23:38:18 +01:00
Oliver Booth 24a7de7e8c
refactor: define test fixtures as internal 2023-08-22 17:32:47 +01:00
Oliver Booth e8a331ff96
chore: use shared Build.props for all projects 2023-08-22 17:11:20 +01:00
Oliver Booth a14fe4ca64
Merge branch 'main' into release/4.0.0 2023-08-21 17:41:05 +01:00
Oliver Booth 42cb9acb48
fix: fix AddHostedSingleton not accepting interface as service type 2023-08-21 17:39:35 +01:00
Oliver Booth b977b7a4ec
Merge branch 'main' into release/4.0.0 2023-08-09 15:24:33 +01:00
Oliver Booth a0b07edc82
fix: replace Moq with a library that DOESN'T steal your pii
Moq has recently introduced a payload named SponsorLink which takes PII (your email address) to send to a third party server for remote verification.

This kind of suspicious data harvesting is simply unacceptable, and the developers have now destroyed all credibility and trust with their user base. This change replaces Moq with NSubstitute.

For further information, see:
https://github.com/moq/moq/issues/1372
2023-08-09 15:18:01 +01:00
Oliver Booth 8d7ca6ea0a
fix(tests): remove outdated tests
This should have been part of d8be858359
2023-05-14 16:31:57 +01:00
Oliver Booth 23dee3d2b8
feat: add value-passthru overloads for ConcatIf 2023-04-14 14:17:33 +01:00
Oliver Booth 6f3a667e37
feat: add string.ConcatIf 2023-04-14 13:55:52 +01:00
Oliver Booth 0ae377250c
feat: add IEnumerable<T>.Except(T)
LINQ-provided Except method filters by array, but there's no way to filter a single value. This method introduces single-value filtering.
2023-04-13 20:55:24 +01:00
Oliver Booth b8a63c0d5c
feat: add float/double support for WriteNoAlloc and WriteLineNoAlloc 2023-04-11 22:27:31 +01:00
Oliver Booth f6847315a1
feat: add Progress<T>.OnProgressChanged
Provides a mechanism to wrap the ProgressChanged event of a Progress<T> as an IObservable<T>.
2023-04-10 12:44:53 +01:00