Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/XRDP/third_party/tomlc99/test2/   (X11 Server Version 0.10.6.1©)  Datei vom 7.6.2026 mit Größe 821 B image not shown  

Quelle  run.sh

  Sprache: Shell
 

#!/usr/bin/env bash

if ! (which jq >& /dev/null); then
    echo "ERROR: please install the 'jq' utility"
    exit 1
fi

#
#  POSITIVE tests
#
for i in toml-spec-tests/values/*.toml; do
    fname="$i"
    ext="${fname##*.}"
    fname="${fname%.*}"
    echo -n $fname ' '
    res='[OK]'
    if (../toml_json $fname.toml >& $fname.json.out); then
        jq -S . $fname.json.out > t.json
 mv t.json $fname.json.out
 if [ -f $fname.json ]; then
     if ! (diff $fname.json $fname.json.out >& /dev/null); then
         res='[FAILED]'
     else
  rm -f $fname.json.out
     fi
 else
     res='[??]'
 fi
    fi
    echo ... $res
done


#
#  NEGATIVE tests
#
for i in toml-spec-tests/errors/*.toml; do
    echo -n $i ' '
    res='[OK]'
    if (../toml_json $i >& $i.json.out); then
 res='[FAILED]'
    fi
    echo ... $res
done

Messung V0.5 in Prozent
C=92 H=85 G=88

¤ Dauer der Verarbeitung: 0.8 Sekunden  (vorverarbeitet am  2026-07-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.