Skip to content

Adding generic test cases format for the file test_case_generator  #1

Description

@kuspia

This is a kind of feature request where we can add generic test cases format for the file test_case_generator.cpp file.
Example:

1.
T
n
A1 A2 ... An
2.
n
A1 A2 ... An
B1 B2 ... Bn
3.
n m
A1 A2 ... An
B1 B2 ... Bm
4.
T
n
A1 A2 ... An [where every a_i is distinct]
5.
T
n m 
M [where M is a matrix of size n*m]

I have just put a few formats one can think many and provide neat documentation here on this repo and display documentation link when a user executes the test_generator file, if the type is found he can simply choose a type number, or else he has to write the .cpp file on his own.

I want to make it CLI-based shows the test case type available already so that the user can just choose and generate it without writing code for a common test cases format, moreover from CLI user can provide total test cases, constraints, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions