From 86b8b7ecefcf5c6054d8690d4c34e30df3aa97bb Mon Sep 17 00:00:00 2001 From: KornevNikita Date: Thu, 24 Aug 2023 09:16:37 -0700 Subject: [PATCH] Add a comment about duplication --- tests/accessor/generic_accessor_api_common.h | 1 + tests/accessor/host_accessor_api_common.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/accessor/generic_accessor_api_common.h b/tests/accessor/generic_accessor_api_common.h index 6296b59c9..826ca72e4 100644 --- a/tests/accessor/generic_accessor_api_common.h +++ b/tests/accessor/generic_accessor_api_common.h @@ -310,6 +310,7 @@ class run_api_tests { SECTION( get_section_name(type_name, access_mode_name, target_name, "Check api for ranged accessor with offset")) { + // Partially duplicates tests/accessor/host_accessor_api_common.h // The maximum value of the linear_index variable should not be more // than CHAR_MAX (usually 127 for schar). Otherwise the test fails here // with the char type: diff --git a/tests/accessor/host_accessor_api_common.h b/tests/accessor/host_accessor_api_common.h index 29d746296..945510ef8 100644 --- a/tests/accessor/host_accessor_api_common.h +++ b/tests/accessor/host_accessor_api_common.h @@ -116,6 +116,7 @@ class run_api_tests { SECTION(get_section_name( type_name, access_mode_name, "Check api for ranged host_accessor with offset")) { + // Partially duplicates tests/accessor/generic_accessor_api_common.h // The maximum value of the linear_index variable should not be more // than CHAR_MAX (usually 127 for schar). Otherwise the test fails here // with the char type: