]> Kevux Git Server - fll/commitdiff
Update: Unit tests, fixing minor problems and adding missing functionality.
authorKevin Day <thekevinday@gmail.com>
Thu, 2 Jun 2022 04:44:06 +0000 (23:44 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 2 Jun 2022 04:44:06 +0000 (23:44 -0500)
Many of the testfile files have "tests" when they instead should have "test".

The f_print must have a clang specific define passed to work-around a clang problem.

I noticed that I forgot to implement several "returns_data_not" unit test while writing the f_fss unit tests.
Provide these missing unit tests for the f_type_array project unit tests.
This project is my de-facto standard for basing all of my standard data type unit tests and needs to be as correct and up to date as possible.

116 files changed:
level_0/f_account/data/build/testfile
level_0/f_capability/data/build/testfile
level_0/f_color/data/build/testfile
level_0/f_console/data/build/testfile
level_0/f_control_group/data/build/testfile
level_0/f_conversion/data/build/testfile
level_0/f_directory/data/build/testfile
level_0/f_environment/data/build/testfile
level_0/f_execute/data/build/testfile
level_0/f_file/data/build/testfile
level_0/f_iki/data/build/testfile
level_0/f_limit/data/build/testfile
level_0/f_memory/data/build/testfile
level_0/f_path/data/build/testfile
level_0/f_pipe/data/build/testfile
level_0/f_print/data/build/settings-mocks
level_0/f_print/data/build/settings-tests
level_0/f_serialize/data/build/testfile
level_0/f_socket/data/build/testfile
level_0/f_status_string/data/build/testfile
level_0/f_string/data/build/testfile
level_0/f_type_array/data/build/testfile
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-array_lengths_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-cells_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-cells_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-cells_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-cells_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-cells_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-cells_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-cellss_append_all.c
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-fll_ids_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int128s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int128s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int128s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int128s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int128s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int128s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int16s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int16s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int16s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int16s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int16s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int16s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int32s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int32s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int32s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int32s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int32s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int32s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int64s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int64s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int64s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int64s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int64s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int64s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int8s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int8s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int8s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int8s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-int8s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-int8s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-states_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-states_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-states_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-states_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-states_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-states_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-statuss_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-statuss_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-statuss_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-statuss_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-statuss_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-statuss_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint128s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint128ss_adjust.h
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint16s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint32s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint64s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_decimate_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_decimate_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_decrease_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_decrease_by.h
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_increase_by.c
level_0/f_type_array/tests/unit/c/test-type_array-uint8s_increase_by.h
level_0/f_type_array/tests/unit/c/test-type_array.c
level_0/f_utf/data/build/testfile

index c05a9d68626226c8181b83d19116bb045b41d2a3..a6b28ed11d26c9d8344ae1757cd180ab35eb8ece 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 56019d2d4f4e0eb2741d588542e9fd9608defd18..378e39051f7f4d59dec412125aa61288a8b948cc 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 06377c2816bf9c47e202a839a949328f60fd25dd..db8792baa850879ec9af17d9553a3ed8ecc44fce 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 93b306905aa9e8aa4d0eaf0e476c145a71000061..ae2d4bed2ffb820e61d4791089cb7fa064cc8138 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index e76ee395c200fcfa5315bc87cd9239f3b45db9fb..331cbbcdbef1968933630c0a9779b5ed7b025ed3 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index bd460764e0ee6f67a95dfd9f5eb105ac148211c5..b1b8535e2b8cd52afda89634e04d624b0987a422 100644 (file)
@@ -19,7 +19,7 @@ settings:
 main:
   # Disable mocks until mocking can be fixed for this project.
   #build settings-mocks
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index be7af0382bfbd3a3d7ca0926bf12aa73838cbfa0..7c390e2cc1bea0c6f6d62a8a2c77a391f19cf9e2 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 71249b7104fa61f7f1fc577f79e7c3734c8c5aef..2d488c4cbd0ff0260076f5e32eb901a0298a1745 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 619b2071209a5bc45a8ddbabad6ae7dfceda67f9..510d511caf2cc43b327f6f9375b71f5ca41739b0 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index 1d80c52b1c7215201539602dfbaa05909e3aa743..9cd9231caa3788e3a2c40a222c85110bad24c2cc 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index e3904d2dbc9cc3131b02793c970851bcbc32e16c..ea4a6a4b9709e36dcc7387e12fd0bb78f403fe6f 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index d7768be5cc5bdb985d9d072d36fcf651168578d0..4fb065ee0833acedd8c94c7b15b87966cb1c03c6 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 9921df5bff3a2d175d6c9f9e5d3ba87d802f4358..7f9642d00318f008207eab6be914bf288c2f762d 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index ecf21ba58e4e5d5d331d6cf309345b9211a64cfb..a35c22d69f93de62317b02f0118f95d877b8d821 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index 5dcdb2c0677a2042b0f2e131f5f82a8ef03ce5a8..27acfa15401676c14fd86e38f5575e6760765e24 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index f52d1a5228347fcf6d46d9d4d2ae72694dc3bf67..315d1369241c7f618fc3266046aaf8050fd78cbc 100644 (file)
@@ -50,6 +50,8 @@ search_exclusive yes
 search_shared yes
 search_static yes
 
+defines-clang -D_clang_not_a_compile_time_constant_workaround_
+
 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags-clang -Wno-logical-op-parentheses
 flags-test -fstack-protector -Wall
index 3a01c8c3e7f8c638c2798bb2b5951e73d6f6f56e..b3f47f8e494b3f3c42d43f673a5e9bc6605e0303 100644 (file)
@@ -62,6 +62,7 @@ search_shared yes
 search_static yes
 
 defines -Ibuild/includes
+defines-clang -D_clang_not_a_compile_time_constant_workaround_
 defines_static -Lbuild/libraries/static
 defines_shared -Lbuild/libraries/shared
 
index 0f732c44a172e23705a1e32a2b1109dd48d17024..88c56d3e9853baf19f3edbd4d4a880158daa4d3e 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index 0d11af5b4c8a8cc59fb194073befba9e6ce9d8cd..08abf6eea7d4e29544edc2214533fb439cb9bee2 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings-mocks individual tests
+  build settings-mocks individual test
   build settings-tests individual test
 
   operate ld_library_path
index a50294f9b79df528b38e9ab6e751c2e82edb2ec9..8331e2a0735356a8d190143467a77ffc63f12994 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index 36f3c775009290225011e5bc041347292ed42f3d..85b5e6b3b786746861b2b46abb09977602fc5b2e 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index cc9d4d869a33d5067a00d9ab6012d2ad4fb94d58..e2178dd39d3ec3b362ff516804da30d14fa4e378 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path
index 1472bbeba4fac9570ea7211fee979a2c380f8649..04d781efc2996b5f0121c5d339ee08494d0cd773 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_array_lengths_decimate_by__parameter_checking(void **sta
   assert_null(data.array);
 }
 
+void test__f_type_array_array_lengths_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_array_lengths_t data = f_array_lengths_t_initialize;
+
+  {
+    const f_status_t status = f_array_lengths_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_array_lengths_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_array_lengths_decimate_by__works(void **state) {
 
   const int length = 5;
index 7816c600416bd51a48de6f1c12de6a4742ec7fbb..df023afa5e2cdfae3f9ec54c6fe5f6372c8f9ad2 100644 (file)
 extern void test__f_type_array_array_lengths_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_array_lengths_decimate_by()
+ */
+extern void test__f_type_array_array_lengths_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_array_lengths_decimate_by()
index 0ea8d0539d93d9aec00ff9eb96b9b6e2ab4b0691..669eae93efeddf6252c653de7c93eea6d1c36ef1 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_array_lengths_decrease_by__parameter_checking(void **sta
   assert_null(data.array);
 }
 
+void test__f_type_array_array_lengths_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_array_lengths_t data = f_array_lengths_t_initialize;
+
+  {
+    const f_status_t status = f_array_lengths_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_array_lengths_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_array_lengths_decrease_by__works(void **state) {
 
   const int length = 5;
index cb533dd68be779e4234713cfd43b4d72947f9af6..9a180cccf90f1c3abe1a899f931c7c8a78ce91c9 100644 (file)
 extern void test__f_type_array_array_lengths_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_array_lengths_decrease_by()
+ */
+extern void test__f_type_array_array_lengths_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_array_lengths_decrease_by()
index 6ffff45e66d03893e62e172337a80a634b3415ec..0eae48301431c117d44995aeaf5c25f107b2c797 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_array_lengths_increase_by__parameter_checking(void **sta
   assert_null(data.array);
 }
 
+void test__f_type_array_array_lengths_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_array_lengths_t data = f_array_lengths_t_initialize;
+
+  {
+    const f_status_t status = f_array_lengths_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_array_lengths_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_array_lengths_increase_by__works(void **state) {
 
   const int length = 5;
index 9f9daafef915d8e5fbc4feab2be3e16ce46e47da..955cb182d73f61941316f98b7d50d8305b47820d 100644 (file)
 extern void test__f_type_array_array_lengths_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_array_lengths_increase_by()
+ */
+extern void test__f_type_array_array_lengths_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_array_lengths_increase_by()
index 45cf6e9798879df56161cb1e892862a2fe082072..072ba7f3ab20f0dfc56243a295133762dbacfbd4 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_cells_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_cells_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_cells_t data = f_cells_t_initialize;
+
+  {
+    const f_status_t status = f_cells_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_cells_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_cells_decimate_by__works(void **state) {
 
   const int length = 5;
index a3abba22a65a8869e8876bcca9449ac1bf2bcde8..3a4ec69115d30652e4cc70343622a13749529205 100644 (file)
 extern void test__f_type_array_cells_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_cells_decimate_by()
+ */
+extern void test__f_type_array_cells_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_cells_decimate_by()
index 7cd12b15ce023b324e37e91a477bb5d0f27c43e6..5f501545683e0cbe0677324697dfa717680d266f 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_cells_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_cells_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_cells_t data = f_cells_t_initialize;
+
+  {
+    const f_status_t status = f_cells_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_cells_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_cells_decrease_by__works(void **state) {
 
   const int length = 5;
index 71c3e23770fd9035acc46991d879ba80266b0982..02b621d10b2d4c531240e9a2527c8a85323ed2eb 100644 (file)
 extern void test__f_type_array_cells_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_cells_decrease_by()
+ */
+extern void test__f_type_array_cells_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_cells_decrease_by()
index debeb96db72e0dcd25543fd1ed488d77f0ac0682..7ae85cb855874c0f7b270bc1d97c30201d56391a 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_cells_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_cells_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_cells_t data = f_cells_t_initialize;
+
+  {
+    const f_status_t status = f_cells_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_cells_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_cells_increase_by__works(void **state) {
 
   const int length = 5;
index 896175e43174d6122270fc07d184a1160366b1cd..558b42268aec54806924046b623d96a5cc302ee3 100644 (file)
 extern void test__f_type_array_cells_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_cells_increase_by()
+ */
+extern void test__f_type_array_cells_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_cells_increase_by()
index 8ffe29740fa6973bb1c4f30deec4988a660806ee..e219131ecc586a43274a557dc3ab008857c6ecc0 100644 (file)
@@ -5,6 +5,17 @@
 extern "C" {
 #endif
 
+void test__f_type_array_cellss_append_all__parameter_checking(void **state) {
+
+  const f_cellss_t data = f_cellss_t_initialize;
+
+  {
+    const f_status_t status = f_cellss_append_all(data, 0);
+
+    assert_int_equal(status, F_status_set_error(F_parameter));
+  }
+}
+
 void test__f_type_array_cellss_append_all__returns_data_not(void **state) {
 
   const int length = 5;
@@ -31,17 +42,6 @@ void test__f_type_array_cellss_append_all__returns_data_not(void **state) {
   free((void *) source.array);
 }
 
-void test__f_type_array_cellss_append_all__parameter_checking(void **state) {
-
-  const f_cellss_t data = f_cellss_t_initialize;
-
-  {
-    const f_status_t status = f_cellss_append_all(data, 0);
-
-    assert_int_equal(status, F_status_set_error(F_parameter));
-  }
-}
-
 void test__f_type_array_cellss_append_all__works(void **state) {
 
   const int length = 5;
index fdc51380a7052783f58f184dd7c0b8e404f6252f..85b522820ce6f1b2b4b4cb91cb67d77495e9be0b 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_fll_ids_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_fll_ids_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_fll_ids_t data = f_fll_ids_t_initialize;
+
+  {
+    const f_status_t status = f_fll_ids_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_fll_ids_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_fll_ids_decimate_by__works(void **state) {
 
   const int length = 5;
index 81a721fe80084f0cd68e8c8ab691e9604bebcecd..e65ed8f05032c323f3915f969cb4f69f9161dcc7 100644 (file)
 extern void test__f_type_array_fll_ids_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_fll_ids_decimate_by()
+ */
+extern void test__f_type_array_fll_ids_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_fll_ids_decimate_by()
index a55df2d16c7ac696fc3cd13aaa8cda21e46f7bd4..6815c0ccc92ce9966523a98d34112e39ea9346ca 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_fll_ids_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_fll_ids_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_fll_ids_t data = f_fll_ids_t_initialize;
+
+  {
+    const f_status_t status = f_fll_ids_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_fll_ids_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_fll_ids_decrease_by__works(void **state) {
 
   const int length = 5;
index 568cd13971711e8ea51ecfa854c8f3026296c377..eac27d8690fa8aad437135b912bbd67ad8bd88af 100644 (file)
 extern void test__f_type_array_fll_ids_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_fll_ids_decrease_by()
+ */
+extern void test__f_type_array_fll_ids_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_fll_ids_decrease_by()
index 9faef8973fc1edbb2f6be88203bc46fb8923166d..e95bab0c630a580abe7d1d41fda74f23f698924a 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_fll_ids_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_fll_ids_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_fll_ids_t data = f_fll_ids_t_initialize;
+
+  {
+    const f_status_t status = f_fll_ids_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_fll_ids_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_fll_ids_increase_by__works(void **state) {
 
   const int length = 5;
index c60ae68769e66d80c40734d0ea24cf827a91196d..513e6bc479475f41f1ece03567640eaf1ab7f0a3 100644 (file)
 extern void test__f_type_array_fll_ids_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_fll_ids_increase_by()
+ */
+extern void test__f_type_array_fll_ids_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_fll_ids_increase_by()
index 3d4ed91360f69d69329731b8a8830f512a9d578f..9a655aa06d25c14254e2fbc050924771d61229c8 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int128s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int128s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int128s_t data = f_int128s_t_initialize;
+
+  {
+    const f_status_t status = f_int128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int128s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int128s_decimate_by__works(void **state) {
 
   const int length = 5;
index 62689ba691a9915bee6f8bcca28f3e697bb6a139..ec153490479b8b931b867cc70266c718363877ca 100644 (file)
 extern void test__f_type_array_int128s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int128s_decimate_by()
+ */
+extern void test__f_type_array_int128s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int128s_decimate_by()
index bc7831ba74707636ecc4e0b97183fe19b28c242c..5039bf92e61eb095f1b0654876a38583182bce0f 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int128s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int128s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int128s_t data = f_int128s_t_initialize;
+
+  {
+    const f_status_t status = f_int128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int128s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int128s_decrease_by__works(void **state) {
 
   const int length = 5;
index 3dd881a595d23f7be1accfce02502c4ac1f06acb..cd62483dc3870ffbf85590e52059fad286f10289 100644 (file)
 extern void test__f_type_array_int128s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int128s_decrease_by()
+ */
+extern void test__f_type_array_int128s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int128s_decrease_by()
index 059d196bbc61fd6056f37c65039c0c414d4b84fc..d74b84d5e7f696cfb46fee84d3d4613503ee3fe0 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int128s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int128s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int128s_t data = f_int128s_t_initialize;
+
+  {
+    const f_status_t status = f_int128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int128s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int128s_increase_by__works(void **state) {
 
   const int length = 5;
index 77c8b26d2dd470910f7bac8adfdc24cab0e7a859..4536a2aac705fa4a6179449944da981089577ce0 100644 (file)
 extern void test__f_type_array_int128s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int128s_increase_by()
+ */
+extern void test__f_type_array_int128s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int128s_increase_by()
index fc67c906aa1ffb6b97443f85c5dedb0a0fec9f7b..a8f4dd1838bffd155785fd46389c2d33c5989ad2 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int16s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int16s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int16s_t data = f_int16s_t_initialize;
+
+  {
+    const f_status_t status = f_int16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int16s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int16s_decimate_by__works(void **state) {
 
   const int length = 5;
index 4341b060bc44db331142f276d3e38eb91337d0af..8c0930fcbe2f997cc473e8d4916b83ae21cc0c4e 100644 (file)
 extern void test__f_type_array_int16s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int16s_decimate_by()
+ */
+extern void test__f_type_array_int16s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int16s_decimate_by()
index b4ac659894451030b1a9a55539759d5f597ef140..a25efbd81b2af93adfcac5946444419508f3ff88 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int16s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int16s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int16s_t data = f_int16s_t_initialize;
+
+  {
+    const f_status_t status = f_int16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int16s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int16s_decrease_by__works(void **state) {
 
   const int length = 5;
index 695b227c5ec06e52a6a511a78ee4d2b550f5c5ab..933deecea87dac19c9161131e9cc67231faa0fbc 100644 (file)
 extern void test__f_type_array_int16s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int16s_decrease_by()
+ */
+extern void test__f_type_array_int16s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int16s_decrease_by()
index e33b5a4a3360d39674e14ff8abf1027b3858fb7e..e1d7d72ecc6a6304cf738fcbd74f0debfca0b208 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int16s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int16s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int16s_t data = f_int16s_t_initialize;
+
+  {
+    const f_status_t status = f_int16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int16s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int16s_increase_by__works(void **state) {
 
   const int length = 5;
index 575753fc6a69d41292f7702255be8cb29a077503..124301a6b41d52e2e9117bf815720cd309a0df14 100644 (file)
 extern void test__f_type_array_int16s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int16s_increase_by()
+ */
+extern void test__f_type_array_int16s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int16s_increase_by()
index c7ad47911c879f983dd2a918d5b132035b09e574..7b6c32694fc6765706fa7c34168af75b57dc586e 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int32s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int32s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int32s_t data = f_int32s_t_initialize;
+
+  {
+    const f_status_t status = f_int32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int32s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int32s_decimate_by__works(void **state) {
 
   const int length = 5;
index f6e6e0d09131f7c374798529e65b6a7e370c1a05..346fb8469c015a0cd32dccc027671c3ffc6948f1 100644 (file)
 extern void test__f_type_array_int32s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int32s_decimate_by()
+ */
+extern void test__f_type_array_int32s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int32s_decimate_by()
index 0eec161426270f547d86836885cfacf60f222f42..3bfb171b2286b669ab7560eea1387712661799b7 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int32s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int32s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int32s_t data = f_int32s_t_initialize;
+
+  {
+    const f_status_t status = f_int32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int32s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int32s_decrease_by__works(void **state) {
 
   const int length = 5;
index 93be3e1e0a5d2999c80aeb568bb4c040bea279f2..05f81d298d67499ec2c3ef155eba80ca792be232 100644 (file)
 extern void test__f_type_array_int32s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int32s_decrease_by()
+ */
+extern void test__f_type_array_int32s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int32s_decrease_by()
index 2f609afecd74df92720798099ec03e86d93c4bf8..f7ee04a1ce34ce68751b6576e7e2911816126b3a 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int32s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int32s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int32s_t data = f_int32s_t_initialize;
+
+  {
+    const f_status_t status = f_int32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int32s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int32s_increase_by__works(void **state) {
 
   const int length = 5;
index 0f7ea165fa6c5cde6c82b6c94b603d8b29e7fe72..7124ba61ef7a9f7fd8ee94c79dbdb42bf89c8af4 100644 (file)
 extern void test__f_type_array_int32s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int32s_increase_by()
+ */
+extern void test__f_type_array_int32s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int32s_increase_by()
index a5be8d892df05e56015b2080fc011c88f861d521..272d0801cbe0d70faf6a0a70467fa3c1085cc0f8 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int64s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int64s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int64s_t data = f_int64s_t_initialize;
+
+  {
+    const f_status_t status = f_int64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int64s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int64s_decimate_by__works(void **state) {
 
   const int length = 5;
index feeb67da04f19c981a3425236dd8e351d8f81011..e734e736ed36eea895735abcb110d526e27cebda 100644 (file)
 extern void test__f_type_array_int64s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int64s_decimate_by()
+ */
+extern void test__f_type_array_int64s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int64s_decimate_by()
index 581f31ec1b8c527a0162cfdd741f00b6b1dca9fc..83c4907459e02d5699795a2d2a6e52e2c635ebd9 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int64s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int64s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int64s_t data = f_int64s_t_initialize;
+
+  {
+    const f_status_t status = f_int64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int64s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int64s_decrease_by__works(void **state) {
 
   const int length = 5;
index 4c3511cc8b7c0b4b04dedc65ffa9a7a7e2a0f715..da5afd2b080a21c6c2813c48b2dc5d30f0fd3322 100644 (file)
 extern void test__f_type_array_int64s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int64s_decrease_by()
+ */
+extern void test__f_type_array_int64s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int64s_decrease_by()
index 2ce8ad6221a5e4ab45b6934fac7fa8c33468dc2a..a45c56fa959f30c36aed73359a3b02d4686c7381 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int64s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int64s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int64s_t data = f_int64s_t_initialize;
+
+  {
+    const f_status_t status = f_int64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int64s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int64s_increase_by__works(void **state) {
 
   const int length = 5;
index fa02badb9f3262ff013cb98bd1abb96520584880..939a1b9ef1b419d9bdfae15f6a4805003b008575 100644 (file)
 extern void test__f_type_array_int64s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int64s_increase_by()
+ */
+extern void test__f_type_array_int64s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int64s_increase_by()
index 19cd308531d448885b892aa987ef67eb0efa4632..2bf8d355a0a8d91385a17138b785935ccd349202 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int8s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int8s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int8s_t data = f_int8s_t_initialize;
+
+  {
+    const f_status_t status = f_int8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int8s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int8s_decimate_by__works(void **state) {
 
   const int length = 5;
index a73804b1ed89b34d8277238550631f3927d05563..a6859146613191253c2d3dabd1b89ad9a5cdb980 100644 (file)
 extern void test__f_type_array_int8s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int8s_decimate_by()
+ */
+extern void test__f_type_array_int8s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int8s_decimate_by()
index 1565014721175359fe64377b3ffdd2617dacb326..79ba58723bd473faf92648ac51b5006a35ae8b72 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int8s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int8s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int8s_t data = f_int8s_t_initialize;
+
+  {
+    const f_status_t status = f_int8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int8s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int8s_decrease_by__works(void **state) {
 
   const int length = 5;
index edba0a3582371fe670ae9db5a409bdcbc5837761..4e98750b53282bf87df0476332e23c53cc80e8b1 100644 (file)
 extern void test__f_type_array_int8s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int8s_decrease_by()
+ */
+extern void test__f_type_array_int8s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int8s_decrease_by()
index 6b022216a2eeb207421460376f155acc2fd84b60..6e9445cb78161e97203bddbb8e91f4c1ce5df5ba 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_int8s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_int8s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_int8s_t data = f_int8s_t_initialize;
+
+  {
+    const f_status_t status = f_int8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_int8s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_int8s_increase_by__works(void **state) {
 
   const int length = 5;
index 9934fed7cc8db7c1c528fc1d2f9a2a1e0d178553..d7a7f1336f6d720739b31a597a4eb841cdbe742b 100644 (file)
 extern void test__f_type_array_int8s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_int8s_increase_by()
+ */
+extern void test__f_type_array_int8s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_int8s_increase_by()
index e74f0b72f173588c1f6caca6779ed0c8c1b53327..363cc277d2068faef681a560d257b50d979f8908 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_states_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_states_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_states_t data = f_states_t_initialize;
+
+  {
+    const f_status_t status = f_states_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_states_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_states_decimate_by__works(void **state) {
 
   const int length = 5;
index 7c983cd81830b4d92019dbd2723dd03eb1e20067..e09c66624535698b25c4699fe8a45076a11be622 100644 (file)
 extern void test__f_type_array_states_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_states_decimate_by()
+ */
+extern void test__f_type_array_states_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_states_decimate_by()
index 1b15b17c49cb6ac7ec0c0ecb7a3a5cbc37d1abf8..6ecf14fc4281f39ae8257559208c814bbd80a1c1 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_states_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_states_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_states_t data = f_states_t_initialize;
+
+  {
+    const f_status_t status = f_states_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_states_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_states_decrease_by__works(void **state) {
 
   const int length = 5;
index d79921a6105e5b34adfd512bfcd14e52de782709..3c0bc1e4d7bc91aad7d3f6f3dd3b149fc9dfe5ac 100644 (file)
 extern void test__f_type_array_states_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_states_decrease_by()
+ */
+extern void test__f_type_array_states_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_states_decrease_by()
index 3cfc0b928425ee6975d6c86c6ba53591f6ab6e1e..ae7f3112bfe2be0a6c394e16b865a6b9649a488d 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_states_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_states_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_states_t data = f_states_t_initialize;
+
+  {
+    const f_status_t status = f_states_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_states_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_states_increase_by__works(void **state) {
 
   const int length = 5;
index 1b1011ff6532ffe059122c2d7262abc86057c388..faf7e6d80b147f1da9e11206c613b47aa36838f8 100644 (file)
 extern void test__f_type_array_states_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_states_increase_by()
+ */
+extern void test__f_type_array_states_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_states_increase_by()
index 479f12925895d79084f07871f666cf47bb2d9eb2..961dc76c3e4f2d265beda5fbe9195c57db0888b5 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_statuss_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_statuss_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_statuss_t data = f_statuss_t_initialize;
+
+  {
+    const f_status_t status = f_statuss_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_statuss_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_statuss_decimate_by__works(void **state) {
 
   const int length = 5;
index f999d0cb7c2378846f076b915c73e823d38e4dc9..c674222734c6367cf89c0209581ee8e1ea2dc236 100644 (file)
 extern void test__f_type_array_statuss_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_statuss_decimate_by()
+ */
+extern void test__f_type_array_statuss_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_statuss_decimate_by()
index 1c92e8db3216b5e72d3b2032942272316b4bc292..449c3f9cc331f625c641a9bdfccf711dcaa8bd8b 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_statuss_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_statuss_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_statuss_t data = f_statuss_t_initialize;
+
+  {
+    const f_status_t status = f_statuss_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_statuss_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_statuss_decrease_by__works(void **state) {
 
   const int length = 5;
index 523c47c0b3785147ce62d6492c02e665b09176b4..3ddc5e0dbfee109c8cfbb3c66abe55faa8e7fbad 100644 (file)
 extern void test__f_type_array_statuss_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_statuss_decrease_by()
+ */
+extern void test__f_type_array_statuss_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_statuss_decrease_by()
index 5cc7bd6b4012e59776cda2d972ed70f99bc31185..5585c17016efd424c30e9d18f6e7dd7bb1ef1ffc 100644 (file)
@@ -22,6 +22,30 @@ void test__f_type_array_statuss_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_statuss_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_statuss_t data = f_statuss_t_initialize;
+
+  {
+    const f_status_t status = f_statuss_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_statuss_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_statuss_increase_by__works(void **state) {
 
   const int length = 5;
index 0bed9391d4f3560a11e3ec52a57f0cb584b6ff48..41fe6f05196600e7b29d3e32a97c3b54a08dce7e 100644 (file)
 extern void test__f_type_array_statuss_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_statuss_increase_by()
+ */
+extern void test__f_type_array_statuss_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_statuss_increase_by()
index 256d110e821f3029a2da97434bff0f1a652d7caf..14b4f6694900e21f9abb48392f4c7ea6bae7ef2e 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint128s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint128s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint128s_t data = f_uint128s_t_initialize;
+
+  {
+    const f_status_t status = f_uint128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint128s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint128s_decimate_by__works(void **state) {
 
   const int length = 5;
index bccbadadc4f0a0376742345afff4aed4fe178d69..02bf1a57a12799e05b51c22caa6aa7269566b31e 100644 (file)
 extern void test__f_type_array_uint128s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint128s_decimate_by()
+ */
+extern void test__f_type_array_uint128s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint128s_decimate_by()
index a6322721efe3a33ce3e7c5bc68ba27b71d5ed1ce..11025d1160b18d05a7ba12c7c00df2f4415a9577 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint128s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint128s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint128s_t data = f_uint128s_t_initialize;
+
+  {
+    const f_status_t status = f_uint128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint128s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint128s_decrease_by__works(void **state) {
 
   const int length = 5;
index a3e3b81ab7f29a59d5eedaff5ffdabd52ebc5699..82f63fb1d7e9b122b8bf73ffda77f2b056b4c103 100644 (file)
 extern void test__f_type_array_uint128s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint128s_decrease_by()
+ */
+extern void test__f_type_array_uint128s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint128s_decrease_by()
index 8a3424d7290aede11789b5194f42d989ea00928c..6be1ebafd879e0450a8723ce305942cfe45604e4 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint128s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint128s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint128s_t data = f_uint128s_t_initialize;
+
+  {
+    const f_status_t status = f_uint128s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint128s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint128s_increase_by__works(void **state) {
 
   const int length = 5;
index 9200183f914d482c961a9b21d7388a12a5a02a5c..10ef9af20df0ecd36ee5e7ff4bd3bdefaaabd3ba 100644 (file)
 extern void test__f_type_array_uint128s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint128s_increase_by()
+ */
+extern void test__f_type_array_uint128s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint128s_increase_by()
index 75f000a1f6105b7d894e3fc88a0645bdb8b63e56..02cfc42bb214fd7086eaa6a6c5d9bc2e0e75360b 100644 (file)
 extern void test__f_type_array_uint128ss_adjust__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint128ss_increase_by()
+ */
+extern void test__f_type_array_uint128ss_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint128ss_adjust()
index 7a9020b53fbd236e1a9e24ca4619b07a59a0b788..4c4c0b9e073b949e9fef2d5a3fa44b5f98961eb6 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint16s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint16s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint16s_t data = f_uint16s_t_initialize;
+
+  {
+    const f_status_t status = f_uint16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint16s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint16s_decimate_by__works(void **state) {
 
   const int length = 5;
index 90ab5fd3e531e06de9dd7b80487f8e0329c37309..f1f9ac547e52d9753bfc6858720a0153c4d1998b 100644 (file)
 extern void test__f_type_array_uint16s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint16s_decimate_by()
+ */
+extern void test__f_type_array_uint16s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint16s_decimate_by()
index 00979b4be82b3afbdaabdadf44fd0d5456362357..9c0ffe0c1ae45483c72e689a75f8ec9aea3ad420 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint16s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint16s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint16s_t data = f_uint16s_t_initialize;
+
+  {
+    const f_status_t status = f_uint16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint16s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint16s_decrease_by__works(void **state) {
 
   const int length = 5;
index c2ab789e5a2b278b8f133d90d25c55d404af4339..6390a2f7692c9b5687af1da03d89a6a81266427a 100644 (file)
 extern void test__f_type_array_uint16s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint16s_decrease_by()
+ */
+extern void test__f_type_array_uint16s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint16s_decrease_by()
index 1784d066240d6f444bbf2a98cea09cd196d5e8ba..8da3d3eb9548d5dd26b3a0697b44d0ef95cef0af 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint16s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint16s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint16s_t data = f_uint16s_t_initialize;
+
+  {
+    const f_status_t status = f_uint16s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint16s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint16s_increase_by__works(void **state) {
 
   const int length = 5;
index 5d7f3e2d7e7ea8fde2590ffabca617a277bd1862..dc6168c5a96ffa1bb1eb35c5685c69fcc268e07c 100644 (file)
 extern void test__f_type_array_uint16s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint16s_increase_by()
+ */
+extern void test__f_type_array_uint16s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint16s_increase_by()
index 5fc0dc40af222b5b11d280aa523848d69058e652..f73028ad4bbc4985c3e78eee13cffb8a5cf32b41 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint32s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint32s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint32s_t data = f_uint32s_t_initialize;
+
+  {
+    const f_status_t status = f_uint32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint32s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint32s_decimate_by__works(void **state) {
 
   const int length = 5;
index e76bc6058d9c70025dcc315486316c4077904df6..3c0c5926fdaae376aefbd4f482b60a2f661cba31 100644 (file)
 extern void test__f_type_array_uint32s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint32s_decimate_by()
+ */
+extern void test__f_type_array_uint32s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint32s_decimate_by()
index 207d384abd4b80fcaad33e18db9b39d58e3d5356..eff4ffa9d48ccbc6f30a368b2fd5dbb8349b7a70 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint32s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint32s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint32s_t data = f_uint32s_t_initialize;
+
+  {
+    const f_status_t status = f_uint32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint32s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint32s_decrease_by__works(void **state) {
 
   const int length = 5;
index bf74dcb304c3f5c9dc701df94cba6a1ae75aa7c7..e1cddc58a9ed773843869ceea7743a8fccf3fdc6 100644 (file)
 extern void test__f_type_array_uint32s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint32s_decrease_by()
+ */
+extern void test__f_type_array_uint32s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint32s_decrease_by()
index 8d42d04e5f5953635516c21d59859e7c62ba62b2..a05c1d24b09036ad699a4777099b31f5149842ba 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint32s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint32s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint32s_t data = f_uint32s_t_initialize;
+
+  {
+    const f_status_t status = f_uint32s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint32s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint32s_increase_by__works(void **state) {
 
   const int length = 5;
index 9b6dd4532485ef84203bd8e44c1342edb4c34b23..53e5e410fa4dc5053d83178ee9e6bdfb183de01f 100644 (file)
 extern void test__f_type_array_uint32s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint32s_increase_by()
+ */
+extern void test__f_type_array_uint32s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint32s_increase_by()
index 03532923ac235718daf9f41fb60fe9f3adb8a950..92109ee96522f0e85a6b2a0f5de57a8f7fe7200b 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint64s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint64s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint64s_t data = f_uint64s_t_initialize;
+
+  {
+    const f_status_t status = f_uint64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint64s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint64s_decimate_by__works(void **state) {
 
   const int length = 5;
index 6ab6f114ed921c28f938bacbb13d3ccdd644290b..18e1bfd8e646278bf14f02e315cab2c425472018 100644 (file)
 extern void test__f_type_array_uint64s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint64s_decimate_by()
+ */
+extern void test__f_type_array_uint64s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint64s_decimate_by()
index 35d7845d0a722183cfc4d7032948ce892565a984..018c1c8fa4eb4d0edd63d5e5a72c070274b5a211 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint64s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint64s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint64s_t data = f_uint64s_t_initialize;
+
+  {
+    const f_status_t status = f_uint64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint64s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint64s_decrease_by__works(void **state) {
 
   const int length = 5;
index c862c30d75a6ce005707f31876b72df1754e55e6..024d9296e7aef57ee781bc61460f8fa828a52e8b 100644 (file)
 extern void test__f_type_array_uint64s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint64s_decrease_by()
+ */
+extern void test__f_type_array_uint64s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint64s_decrease_by()
index f3ef9ea1aeb272f39c906865597b915d16528e94..a16d82c72c8905437702225fcfddc3be50405bee 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint64s_increase_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint64s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint64s_t data = f_uint64s_t_initialize;
+
+  {
+    const f_status_t status = f_uint64s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint64s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint64s_increase_by__works(void **state) {
 
   const int length = 5;
index 60e4e77b0a960acb8383aae66a027d0d3b843fcc..573065c70d159f2a593e10f1727b078d9d4f64d4 100644 (file)
 extern void test__f_type_array_uint64s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint64s_increase_by()
+ */
+extern void test__f_type_array_uint64s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint64s_increase_by()
index 2d3a21a9c0661f3222cd4c2ef807c1101e709dc9..99e13196efdb93ddabe6e582938886b8c8c9554c 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint8s_decimate_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint8s_decimate_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint8s_t data = f_uint8s_t_initialize;
+
+  {
+    const f_status_t status = f_uint8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint8s_decimate_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint8s_decimate_by__works(void **state) {
 
   const int length = 5;
index 709cec41aab26c82140f766ea4ad9a58a51a96e1..cd88cae4a75271c6e9dae6fa891a762fda6c0cd6 100644 (file)
 extern void test__f_type_array_uint8s_decimate_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint8s_decimate_by()
+ */
+extern void test__f_type_array_uint8s_decimate_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint8s_decimate_by()
index 7b12e59586dd10a8be7815b4a8cd5085e7b02c6c..ead28f5462651f55a12e3fe1fc273e2fddf4610a 100644 (file)
@@ -21,6 +21,30 @@ void test__f_type_array_uint8s_decrease_by__parameter_checking(void **state) {
   assert_null(data.array);
 }
 
+void test__f_type_array_uint8s_decrease_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint8s_t data = f_uint8s_t_initialize;
+
+  {
+    const f_status_t status = f_uint8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint8s_decrease_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint8s_decrease_by__works(void **state) {
 
   const int length = 5;
index c73f24e57b8d95c3df9190daf24422db8cdc7f3b..0349f1b0cf25dac331bc7f19bc5b1a0ed26a07d2 100644 (file)
 extern void test__f_type_array_uint8s_decrease_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint8s_decrease_by()
+ */
+extern void test__f_type_array_uint8s_decrease_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint8s_decrease_by()
index 98a32b2a477f9a18f702602c4ce92ab7948ec152..29ac46d7d84d1ff89f22e167c45a0c9f0cb231a4 100644 (file)
@@ -21,6 +21,31 @@ void test__f_type_array_uint8s_increase_by__parameter_checking(void **state) {
 
   assert_null(data.array);
 }
+
+void test__f_type_array_uint8s_increase_by__returns_data_not(void **state) {
+
+  const int length = 5;
+  f_uint8s_t data = f_uint8s_t_initialize;
+
+  {
+    const f_status_t status = f_uint8s_resize(length, &data);
+
+    assert_int_equal(status, F_none);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  {
+    const f_status_t status = f_uint8s_increase_by(0, &data);
+
+    assert_int_equal(status, F_data_not);
+    assert_int_equal(data.used, 0);
+    assert_int_equal(data.size, length);
+  }
+
+  free((void *) data.array);
+}
+
 void test__f_type_array_uint8s_increase_by__works(void **state) {
 
   const int length = 5;
index 7ac98ebe67bbb39808b4e2cf5965acf0743fae21..941191b5cdc6cdc512230fa0a58d9c438d3d5d20 100644 (file)
 extern void test__f_type_array_uint8s_increase_by__parameter_checking(void **state);
 
 /**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_uint8s_increase_by()
+ */
+extern void test__f_type_array_uint8s_increase_by__returns_data_not(void **state);
+
+/**
  * Test that the function works.
  *
  * @see f_uint8s_increase_by()
index 15ee245177163386691ae618c7046f79821c4df4..8e4b8bfb9cfcfc447f425122ef9da41c7e82707e 100644 (file)
@@ -17,6 +17,12 @@ int setdown(void **state) {
 int main(void) {
 
   const struct CMUnitTest tests[] = {
+    cmocka_unit_test(test__f_type_array_array_lengths_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_array_lengths_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_array_lengths_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_array_lengths_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_array_lengths_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_array_lengths_adjust__works),
     cmocka_unit_test(test__f_type_array_array_lengths_append__works),
     cmocka_unit_test(test__f_type_array_array_lengths_append_all__works),
@@ -42,6 +48,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_array_lengthss_increase_by__works),
     cmocka_unit_test(test__f_type_array_array_lengthss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_cells_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_cells_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_cells_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_cells_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_cells_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_cells_adjust__works),
     cmocka_unit_test(test__f_type_array_cells_append__works),
     cmocka_unit_test(test__f_type_array_cells_append_all__works),
@@ -67,6 +79,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_cellss_increase_by__works),
     cmocka_unit_test(test__f_type_array_cellss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_fll_ids_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_fll_ids_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_fll_ids_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_fll_ids_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_fll_ids_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_fll_ids_adjust__works),
     cmocka_unit_test(test__f_type_array_fll_ids_append__works),
     cmocka_unit_test(test__f_type_array_fll_ids_append_all__works),
@@ -92,6 +110,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_fll_idss_increase_by__works),
     cmocka_unit_test(test__f_type_array_fll_idss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_int8s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int8s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int8s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int8s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int8s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_int8s_adjust__works),
     cmocka_unit_test(test__f_type_array_int8s_append__works),
     cmocka_unit_test(test__f_type_array_int8s_append_all__works),
@@ -117,6 +141,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_int8ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_int8ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_int16s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int16s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int16s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int16s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int16s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_int16s_adjust__works),
     cmocka_unit_test(test__f_type_array_int16s_append__works),
     cmocka_unit_test(test__f_type_array_int16s_append_all__works),
@@ -142,6 +172,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_int16ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_int16ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_int32s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int32s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int32s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int32s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int32s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_int32s_adjust__works),
     cmocka_unit_test(test__f_type_array_int32s_append__works),
     cmocka_unit_test(test__f_type_array_int32s_append_all__works),
@@ -167,6 +203,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_int32ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_int32ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_int64s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int64s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int64s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int64s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int64s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_int64s_adjust__works),
     cmocka_unit_test(test__f_type_array_int64s_append__works),
     cmocka_unit_test(test__f_type_array_int64s_append_all__works),
@@ -192,6 +234,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_int64ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_int64ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_int128s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int128s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int128s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int128s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_int128s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_int128s_adjust__works),
     cmocka_unit_test(test__f_type_array_int128s_append__works),
     cmocka_unit_test(test__f_type_array_int128s_append_all__works),
@@ -217,6 +265,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_int128ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_int128ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_states_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_states_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_states_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_states_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_states_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_states_adjust__works),
     cmocka_unit_test(test__f_type_array_states_append__works),
     cmocka_unit_test(test__f_type_array_states_append_all__works),
@@ -242,6 +296,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_statess_increase_by__works),
     cmocka_unit_test(test__f_type_array_statess_resize__works),
 
+    cmocka_unit_test(test__f_type_array_statuss_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_statuss_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_statuss_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_statuss_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_statuss_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_statuss_adjust__works),
     cmocka_unit_test(test__f_type_array_statuss_append__works),
     cmocka_unit_test(test__f_type_array_statuss_append_all__works),
@@ -267,6 +327,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_statusss_increase_by__works),
     cmocka_unit_test(test__f_type_array_statusss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_uint8s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint8s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint8s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint8s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint8s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_uint8s_adjust__works),
     cmocka_unit_test(test__f_type_array_uint8s_append__works),
     cmocka_unit_test(test__f_type_array_uint8s_append_all__works),
@@ -292,6 +358,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_uint8ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_uint8ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_uint16s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint16s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint16s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint16s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint16s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_uint16s_adjust__works),
     cmocka_unit_test(test__f_type_array_uint16s_append__works),
     cmocka_unit_test(test__f_type_array_uint16s_append_all__works),
@@ -317,6 +389,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_uint16ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_uint16ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_uint32s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint32s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint32s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint32s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint32s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_uint32s_adjust__works),
     cmocka_unit_test(test__f_type_array_uint32s_append__works),
     cmocka_unit_test(test__f_type_array_uint32s_append_all__works),
@@ -342,6 +420,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_uint32ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_uint32ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_uint64s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint64s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint64s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint64s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint64s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_uint64s_adjust__works),
     cmocka_unit_test(test__f_type_array_uint64s_append__works),
     cmocka_unit_test(test__f_type_array_uint64s_append_all__works),
@@ -367,6 +451,12 @@ int main(void) {
     cmocka_unit_test(test__f_type_array_uint64ss_increase_by__works),
     cmocka_unit_test(test__f_type_array_uint64ss_resize__works),
 
+    cmocka_unit_test(test__f_type_array_uint128s_append_all__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint128s_decimate_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint128s_decrease_by__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint128s_increase__returns_data_not),
+    cmocka_unit_test(test__f_type_array_uint128s_increase_by__returns_data_not),
+
     cmocka_unit_test(test__f_type_array_uint128s_adjust__works),
     cmocka_unit_test(test__f_type_array_uint128s_append__works),
     cmocka_unit_test(test__f_type_array_uint128s_append_all__works),
index 8b5a6d12ebf49008c2244279ae5e6ee1aef22e6b..6f680f2c5a5ebb300dbed76f6fd92e63bba35aba 100644 (file)
@@ -17,7 +17,7 @@ settings:
   #define CMOCKA_XML_FILE ./out.xml
 
 main:
-  build settings individual tests
+  build settings individual test
   build settings-tests individual test
 
   operate ld_library_path