Code Monkey home page Code Monkey logo

unimib-lp-json-parser-tests's Introduction

UNIMIB-LP-JSON-Parser-Tests

Un tool per testare il corretto funzionamento del progetto JSONParser - Febbraio 2023

How to

  • Inserite il file test.pl nella stessa cartella dove avrete il file jsonparse.pl.
  • Avviate l'ambiente Prolog e al posto di caricare il file "jsonparse", caricare il file "test". Si occuperà lui di caricare il vostro progetto.
  • Avviate il predicato test_all.
  • Questo eseguirà tutti i test presenti nel PDF della consegna per voi 😉

Nota Bene

Ho notato che l'interprete Prolog nel caso debba printare a schermo un oggetto con tanti livelli di innestazione tende ad abbreviare un po' di cose con "| ..." (magari lo fa solo a me lol). Per ovviare a questa cosa è possibile utilizzare il seguente predicato:

set_prolog_flag(answer_write_options,
    [ quoted(true),
        portray(true),
        spacing(next_argument)
    ]
).

Il test tiene conto degli oggetti non abbreviati. Per questo motivo potrebbe non darvi giusto alcuni casi.

proof-of-work

unimib-lp-json-parser-tests's People

Contributors

lucabrini avatar francescoromeo02 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.