Robot
Move a little robot.
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "base64.h"
#include "lib_server.h"
Functions | |
void | test_base64_case (const char *input, const char *expected) |
Tests one exemple of base64. More... | |
void | test_base64 (void) |
Performs base64 implementation tests. More... | |
void | test_string (void) |
Performs string structure implementation tests. More... | |
void | test_string_snprintf (void) |
Performs string_snprintf() implementation tests. More... | |
void | test_parse_client_request (void) |
Performs parse_client_request() implementation tests. More... | |
int | main (void) |
Launches unitary tests. More... | |
int main | ( | void | ) |
Launches unitary tests.
void test_base64 | ( | void | ) |
Performs base64 implementation tests.
Class test_base64_case(). Exemples are from https://en.wikipedia.org/wiki/Base64.
void test_base64_case | ( | const char * | input, |
const char * | expected | ||
) |
Tests one exemple of base64.
input | Pointer to the input buffer to encode. |
expected | Pointer to the encoded result for comparison. |
void test_parse_client_request | ( | void | ) |
Performs parse_client_request() implementation tests.
void test_string | ( | void | ) |
Performs string structure implementation tests.
void test_string_snprintf | ( | void | ) |
Performs string_snprintf() implementation tests.