libft
Loading...
Searching...
No Matches
test_gnl.c File Reference
#include "unity.h"
#include "get_next_line.h"
#include <fcntl.h>

Go to the source code of this file.

Functions

void test_threelines_should_be_equal (void)
 
void test_41_with_nl_should_be_equal (void)
 
void test_empty_should_be_equal (void)
 
void test_no_newline_short_should_be_equal (void)
 
void test_no_newline_long_should_be_equal (void)
 
void test_multiple_calls_should_be_equal (void)
 
void test_multiple_calls_mixed_should_be_equal (void)
 
void test_big_fd_should_be_equal (void)
 
int test_gnl (void)
 

Function Documentation

◆ test_41_with_nl_should_be_equal()

void test_41_with_nl_should_be_equal ( void  )

Definition at line 33 of file test_gnl.c.

◆ test_big_fd_should_be_equal()

void test_big_fd_should_be_equal ( void  )

Definition at line 201 of file test_gnl.c.

◆ test_empty_should_be_equal()

void test_empty_should_be_equal ( void  )

Definition at line 56 of file test_gnl.c.

◆ test_gnl()

int test_gnl ( void  )

Definition at line 212 of file test_gnl.c.

◆ test_multiple_calls_mixed_should_be_equal()

void test_multiple_calls_mixed_should_be_equal ( void  )

Definition at line 122 of file test_gnl.c.

◆ test_multiple_calls_should_be_equal()

void test_multiple_calls_should_be_equal ( void  )

Definition at line 87 of file test_gnl.c.

◆ test_no_newline_long_should_be_equal()

void test_no_newline_long_should_be_equal ( void  )

Definition at line 77 of file test_gnl.c.

◆ test_no_newline_short_should_be_equal()

void test_no_newline_short_should_be_equal ( void  )

Definition at line 67 of file test_gnl.c.

◆ test_threelines_should_be_equal()

void test_threelines_should_be_equal ( void  )

Definition at line 5 of file test_gnl.c.