Oliver Booth
f679ec294e
fix(tests): add test to fix coverage on DateOnly.Deconstruct
2024-02-12 02:35:17 +00:00
Oliver Booth
8f9fc6ef7a
refactor: remove target-conditional branches ( #87 )
2023-09-13 00:46:12 +01:00
Oliver Booth
9caa0acb7b
style: remove UTF8 BOM
2023-08-26 18:11:29 +01:00
Oliver Booth
24a7de7e8c
refactor: define test fixtures as internal
2023-08-22 17:32:47 +01:00
Oliver Booth
ab62db2b37
chore: switch from MSTest to NUnit ( #76 )
2023-04-05 22:51:59 +01:00
Oliver Booth
b8c3a5121a
feat: add DateOnly extensions
2023-04-04 10:10:55 +01:00
Oliver Booth
1acee3bf72
fix(test): fix incorrect date being returned for .NET Standard 2.1
2023-04-01 18:20:44 +01:00
Oliver Booth
708207305c
test: use fixed point of reference for Age tests
2023-03-31 20:15:59 +01:00
Oliver Booth
f30c052673
test: 100% coverage for TimeSpanParser.TryParse
2023-03-30 20:44:45 +01:00
Oliver Booth
628ead1ebb
test: add tests for GetIso8601WeekOfYear
2023-03-30 20:44:32 +01:00
Oliver Booth
3121b23732
fix(tests): fix incorrect timezone offset for DST
2023-03-28 14:54:11 +01:00
Oliver Booth
d461c464df
Rewrite TimeSpanParserTests
...
The tests previously worked on the assumption that TryParse would throw an exception on null argument. This was changed with 94a841b2fc
but the tests were not updated to reflect that
2023-02-26 00:46:01 +00:00
Oliver Booth
35591b05e2
Add ReadOnlySpan<char> overload for TimeSpanParser
...
Also tidies up the code here to reduce complexity
2022-12-22 20:19:52 +00:00
Oliver Booth
ed2920f8a0
Multi-target X10D.Tests
2022-05-07 23:16:06 +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
a6139a5720
Migrate string extensions to appropriate namespaces ( #7 )
...
Introduces more tests
2022-04-30 13:08:39 +01:00
Oliver Booth
155a604812
Add FromUnixTime(Milli)Seconds for unsigned types
2022-04-29 23:21:00 +01:00
Oliver Booth
ef9c186684
Add IsLeapYear for DateTime(Offset) and numeric types
2022-04-28 10:27:32 +01:00
Oliver Booth
c4abef7be6
Move IO related methods to IO namespaces ( #7 )
...
Also renames more tests to be more meaningful
2022-04-25 17:09:49 +01:00
Oliver Booth
e2a496face
Add tests for DateTime/Offset
2022-04-24 10:28:50 +01:00
Oliver Booth
118eeae46a
Remove _ from test names
2022-04-21 22:31:32 +01:00
Oliver Booth
734f327a66
Add tests for time-related extension methods
2022-04-21 21:37:20 +01:00