Code Monkey home page Code Monkey logo

projet1-calculus-ratiocinator's Introduction

Projet Calculus

Ce projet est une application Java qui implémente un service de calcul logique pour évaluer des affirmations. Il utilise Spring Boot et JUnit pour les tests unitaires.

Structure du projet

  • src/main/java/com/example/projet1_Calculus/ : Contient le code source de l'application.
    • Model/ : Contient les modèles de données.
    • Service/ : Contient le service Logique pour évaluer les affirmations.
  • src/test/java/com/example/projet1_Calculus/ : Contient les tests unitaires pour le service Logique.

Fonctionnalités

Le service Logique permet d'évaluer des affirmations logiques simples et complexes. Il prend en charge les opérateurs logiques et, ou et donc. Il peut également gérer les affirmations complexes avec des opérateurs logiques imbriqués.

Prérequis

  • Java 21
  • Maven

Installation

  1. Clone le dépôt GitHub : https://github.com/AndoKami/PROJET1-Calculus-Ratiocinator
  2. Accède au répertoire du projet : cd PROJET1-Calculus-Ratiocinator

Utilisation

Une fois l'application lancée, tu peux utiliser un client HTTP comme Postman pour envoyer des requêtes POST à l'URL http://localhost:8080/api/evaluate avec les paramètres nécessaires pour évaluer les affirmations.

Exemple de corps de requête POST (format x-www-form-urlencoded) :

  • statement1: "Lou est pauvre"
  • statement2: "Lou est généreux"
  • operator: "et"

Tests

Le projet inclut des tests unitaires avec JUnit pour vérifier le bon fonctionnement du service Logique. Pour exécuter les tests, utilise la commande Maven suivante : nvm test

projet1-calculus-ratiocinator's People

Contributors

andokami avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.