Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add load testing files #184

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@ jobs:
- 18
path:
- check: 'test/known_fail'
exclude: 'capi'
exclude: 'capital'
known_fail: true
- check: 'test/known_pass'
exclude: 'capi'
exclude: 'capital'
known_fail: false
- check: 'test/load_test'
exclude: 'capital'
known_fail: false
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion test/known_pass/capital_C/addition.C
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

main()
{
int integer1, integer2,
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
Expand Down
17 changes: 17 additions & 0 deletions test/load_test/addition-000.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-001.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-002.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-003.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-004.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-005.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-006.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-007.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-008.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-009.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-010.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-011.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-012.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-013.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-014.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-015.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-016.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-017.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-018.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
17 changes: 17 additions & 0 deletions test/load_test/addition-019.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Addition program */
#include <stdio.h>

main()
{
int integer1, integer2,
sum; /* declaration before any executable statements*/

printf("Enter first integer\n"); /* prompt */
scanf("%d", &integer1); /* read an integer */
printf("Enter second integer\n"); /* prompt */
scanf("%d", &integer2); /* read an integer */
sum = integer1 + integer2; /* assignment of sum */
printf("Sum is %d\n", sum); /* print sum */

return 0; /* Indicate program ended successfully */
}
Loading
Loading