Skip to content

Commit

Permalink
[feat]: Add test files for each task
Browse files Browse the repository at this point in the history
  • Loading branch information
bekalue committed Jun 1, 2023
1 parent 71ad018 commit 2cfcef5
Show file tree
Hide file tree
Showing 807 changed files with 23,145 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 0x00-hello_world/tests/task_0/0-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - Entry point
*
* Return: Always 0 (Success)
*/
int main(void)
{
printf("Holberton School");
return (0);
}
12 changes: 12 additions & 0 deletions 0x00-hello_world/tests/task_1/1-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - Entry point
*
* Return: Always 0 (Success)
*/
int main(void)
{
printf("Holberton School");
return (0);
}
12 changes: 12 additions & 0 deletions 0x00-hello_world/tests/task_2/2-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - Entry point
*
* Return: Always 0 (Success)
*/
int main(void)
{
printf("Holberton School");
return (0);
}
12 changes: 12 additions & 0 deletions 0x00-hello_world/tests/task_3/3-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - Entry point
*
* Return: Always 0 (Success)
*/
int main(void)
{
printf("Holberton School");
return (0);
}
12 changes: 12 additions & 0 deletions 0x00-hello_world/tests/task_7/100-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - Entry point
*
* Return: Always 0 (Success)
*/
int main(void)
{
printf("Holberton School");
return (0);
}
11 changes: 11 additions & 0 deletions 0x02-functions_nested_loops/tests/task_1/1-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "main.h"
/**
* main - check the code
*
* Return: Always 0.
*/
int main(void)
{
print_alphabet();
return(0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_1/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_alphabet();
return (0);
}
15 changes: 15 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/10-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "main.h"

/**
* main - check the code
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(89, 9);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_0.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(89, 9);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_1.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(0, 9);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_2.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(0, 0);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_3.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(89, 0);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_4.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(-89, 12);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_5.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(12, 12);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_10/main_6.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
int n;

n = add(-89, -98);
printf("%d\n", n);
return (0);
}
16 changes: 16 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/11-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include "main.h"

/**
* main - check the code
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(0);
print_to_98(98);
print_to_98(111);
print_to_98(81);
print_to_98(-10);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_0.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(98);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_1.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(111);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_2.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(81);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_3.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(0);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_4.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(-98);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_11/main_5.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_to_98(-111);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_0.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(2);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_1.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(10);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_2.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(13);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_3.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(-2);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_4.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(0);
return (0);
}
12 changes: 12 additions & 0 deletions 0x02-functions_nested_loops/tests/task_12/main_5.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "main.h"

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
print_times_table(100);
return (0);
}
Loading

0 comments on commit 2cfcef5

Please sign in to comment.