diff --git a/LICENSE b/LICENSE
index 48f4c860..8cbeda4b 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2020-2024 Andrei Sergeev, Pavel Moskovoy
+Copyright (c) 2020-2025 Andrei Sergeev, Pavel Moskovoy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/src/core-unit/Unit.Tests.Old/Unit.Tests.Old.csproj b/src/core-unit/Unit.Tests.Old/Unit.Tests.Old.csproj
index 9a099dd8..d4741c79 100644
--- a/src/core-unit/Unit.Tests.Old/Unit.Tests.Old.csproj
+++ b/src/core-unit/Unit.Tests.Old/Unit.Tests.Old.csproj
@@ -11,19 +11,19 @@
false
true
Andrei Sergeev, Pavel Moskovoy
- Copyright © 2020-2024 Andrei Sergeev, Pavel Moskovoy
+ Copyright © 2020-2025 Andrei Sergeev, Pavel Moskovoy
PrimeFuncPack.Core.Tests
PrimeFuncPack.Core.Unit.Tests.Old
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/core-unit/Unit.Tests.Old/UnitTests/UnitTests.Comparison.Obsolete.cs b/src/core-unit/Unit.Tests.Old/UnitTests/UnitTests.Comparison.Obsolete.cs
new file mode 100644
index 00000000..66d24e1f
--- /dev/null
+++ b/src/core-unit/Unit.Tests.Old/UnitTests/UnitTests.Comparison.Obsolete.cs
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using static PrimeFuncPack.UnitTest.TestData;
+
+namespace PrimeFuncPack.Core.Tests;
+
+partial class UnitTests
+{
+ [Obsolete]
+ [Test]
+ public void CompareTo_Obj_Unit_ExpectZero()
+ {
+ object? obj = default(Unit);
+
+ var actual = Unit.Value.CompareTo(obj);
+ Assert.That(actual, Is.Zero);
+ }
+
+ [Obsolete]
+ [Test]
+ public void CompareTo_Obj_Null_ExpectGreaterThanZero_ExpectOne()
+ {
+ object? obj = null;
+
+ var actual = Unit.Value.CompareTo(obj);
+
+ Assert.That(actual, Is.Positive);
+ Assert.That(actual, Is.EqualTo(1));
+ }
+
+ [Obsolete]
+ [Test]
+ [TestCaseSource(nameof(CompareTo_Obj_NotUnit_ExpectArgumentException_TestCases))]
+ public void CompareTo_Obj_NotUnit_ExpectArgumentException(object obj)
+ {
+ var ex = Assert.Throws(() => _ = Unit.Value.CompareTo(obj))!;
+
+ Assert.That(ex.ParamName, Is.EqualTo("obj"));
+
+ var containsExpectedMessage = ex.Message.Contains("Object must be of type Unit.", StringComparison.Ordinal);
+ Assert.That(containsExpectedMessage, Is.True);
+ }
+
+ private static IEnumerable