mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-11-14 16:03:13 +01:00
70 lines
1.1 KiB
C
70 lines
1.1 KiB
C
#ifndef __STRING_TEST__
|
|
#define __STRING_TEST__
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "libcproject.h"
|
|
#include "test.h"
|
|
|
|
void string_test();
|
|
|
|
void string_get_length_test();
|
|
|
|
void string_to_uppercase_test();
|
|
|
|
void string_to_lowercase_test();
|
|
|
|
void string_replace_test();
|
|
|
|
void string_remove_character_test();
|
|
|
|
void string_trim_start_test();
|
|
|
|
void string_trim_end_test();
|
|
|
|
void string_trim_test();
|
|
|
|
void string_copy_test();
|
|
|
|
void string_capitalize_test();
|
|
|
|
void string_total_occurrences_of_character_test();
|
|
|
|
void string_reverse_test();
|
|
|
|
void string_equals_test();
|
|
|
|
void string_get_is_integer_test();
|
|
|
|
void string_split_test();
|
|
|
|
void string_join_test();
|
|
|
|
void string_concatenate_test();
|
|
|
|
void string_get_has_unique_characters_test();
|
|
|
|
void string_substring_test();
|
|
|
|
void string_get_is_substring_test();
|
|
|
|
void string_get_formatted_number_test();
|
|
|
|
void string_get_last_occurence_of_character_test();
|
|
|
|
void string_starts_with_test();
|
|
|
|
void string_ends_with_test();
|
|
|
|
void string_position_of_test();
|
|
|
|
void string_last_position_of_test();
|
|
|
|
void string_pad_start_test();
|
|
|
|
void string_zero_pad_test();
|
|
|
|
#endif
|