Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0nom4d/307multigrains
Mathematical EPITECH Project - This project computes a optimization of fertilizer to grow the most grains using Gauss Pivoting Method.
https://github.com/0nom4d/307multigrains
coverage epitech-project pivot-tables pytest python3
Last synced: 19 days ago
JSON representation
Mathematical EPITECH Project - This project computes a optimization of fertilizer to grow the most grains using Gauss Pivoting Method.
- Host: GitHub
- URL: https://github.com/0nom4d/307multigrains
- Owner: 0Nom4D
- Created: 2022-01-03T10:48:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T17:32:28.000Z (about 3 years ago)
- Last Synced: 2023-03-04T01:41:28.500Z (almost 2 years ago)
- Topics: coverage, epitech-project, pivot-tables, pytest, python3
- Language: Python
- Homepage:
- Size: 605 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 307multigrains
307multigrains is a B-MAT-500 EPITECH module project.
307multigrains is about optimizing revenues though grains' price.
## Before continuing...
This project is an EPITECH Project. If you are an EPITECH student, move out the way!
Nothing to see here... The groups don't want to be involved to your -42.
![Alt Text](https://media.tenor.com/images/5a5f5957db8b98be17ef208737663b9b/tenor.gif)
If you're not, no worries! You're welcome here!
### Prerequisites
To use this project, you'll need Python (Version 3.8) and Pytest for Unit Tests:
* [Python Installation](https://www.python.org/downloads/)
* [Pytest Installation](https://docs.pytest.org/en/6.2.x/getting-started.html#install-pytest)### Building program
307multigrains is a B-MAT-500 EPITECH module project.
307multigrains is about optimizing revenues though grains' price.
You can use this program as it follows:
```textmate
$> ./307multigrains -h
USAGE
./307multigrains n1 n2 n3 n4 po pw pc pb psDESCRIPTION
n1 number of tons of fertilizer F1
n2 number of tons of fertilizer F2
n3 number of tons of fertilizer F3
n4 number of tons of fertilizer F4
po price of one unit of oat
pw price of one unit of wheat
pc price of one unit of corn
pb price of one unit of barley
ps price of one unit of soy
```You can also launch unit tests by using the command below at root of the repository:
```textmate
$> coverage run --rcfile=.coveragerc -m --source=sources/ pytest --capture=sys -rA tests/
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/nom4d/EPITECH/307multigrains
collected ... items...
==================================== PASSES ====================================
_____________________ ... ______________________
----------------------------- Captured stdout call -----------------------------
...
=========================== short test summary info ============================
...
============================== ... passed in ...s ===============================
$> coverage report -m
// In order to show coverage report
```### Coding Style
307multigrains is developed with Python. EPITECH doesn't impose any Coding Style to this but I tried to be as cleaner as possible.
## Authors
* **Arthur Adam** - [0Nom4D](https://github.com/0Nom4D)
This README file has been created with mdCreator. [Please check the project by clicking this link.](https://github.com/0Nom4D/mdCreator/)