The quadratic_equation module in the C language contains an implementation of the solve_equation function.
The arguments of the function are 3 real numbers
As a result, the function returns msg_id (the values are described in the quadratic_equation.h file).
To build a static library, run the following commands:
- Clone the repository:
git clone https://github.com/arseny114/quadratic_equation.git
- Create a build:
mkdir build
- Go to build:
cd build
- Run the build:
cmake ..
make
To run the tests, you need to use the commands from build:
make check
or:
make test
or:
ctest