Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some modifications and some files added.
[simgrid.git] / src / simgrid_units_main.c
index 8f50f42..909fdce 100644 (file)
@@ -51,13 +51,16 @@ extern xbt_test_unit_t _xbt_current_unit;
     void test_split_str(void);
   /* SGU: END FILE */
 
+  /* SGU: BEGIN FILE xbt/xbt_sha.c */
+    void test_crypto_sha(void);
+  /* SGU: END FILE */
+
   /* SGU: BEGIN FILE xbt/config.c */
     void test_config_memuse(void);
     void test_config_validation(void);
     void test_config_use(void);
   /* SGU: END FILE */
 
-/* SGU: END PROTOTYPES */
 
 /*******************************/
 /* GENERATED FILE, DO NOT EDIT */
@@ -120,6 +123,11 @@ int main(int argc, char *argv[]) {
       xbt_test_suite_push(suite, "xbt_str_split_str", test_split_str,  "test the function xbt_str_split_str");
     /* SGU: END FILE */
 
+    /* SGU: BEGIN FILE xbt/xbt_sha.c */
+      suite = xbt_test_suite_by_name("hash","Various hash functions");
+      xbt_test_suite_push(suite, "sha", test_crypto_sha, "Test of the sha algorithm");
+    /* SGU: END FILE */
+
     /* SGU: BEGIN FILE xbt/config.c */
       suite = xbt_test_suite_by_name("config","Configuration support");
       xbt_test_suite_push(suite, "memuse", test_config_memuse, "Alloc and free a config set");