diff options
Diffstat (limited to 'src/tests/efl_mono/EinaTestData.cs')
-rw-r--r-- | src/tests/efl_mono/EinaTestData.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/efl_mono/EinaTestData.cs b/src/tests/efl_mono/EinaTestData.cs index 5b8c84db81..9727548f93 100644 --- a/src/tests/efl_mono/EinaTestData.cs +++ b/src/tests/efl_mono/EinaTestData.cs @@ -17,6 +17,7 @@ using System; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; +using System.Diagnostics.Contracts; namespace EinaTestData { @@ -95,6 +96,8 @@ public static class BaseData [ CallerLineNumber ] int line = 0, [ CallerFilePath ] string file = null, [ CallerMemberName ] string member = null) { + Contract.Requires(a != null, nameof(a)); + Contract.Requires(b != null, nameof(b)); Test.Assert(a.Length == b.Length, "Different lenght", line, file, member); for (int i = 0; i < a.Length; ++i) { |