Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/testing/modules/tests/browser/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 551 B image not shown  

Quelle  browser_test_assert.js   Sprache: JAVA

 
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */


function test() {
  export_assertions();

  ok(true"pass ok");
  is(truetrue"pass is");
  isnot(falsetrue"pass isnot");
  todo(false"pass todo");
  todo_is(falsetrue"pass todo_is");
  todo_isnot(truetrue"pass todo_isnot");
  info("info message");

  var func = is;
  func(1, 1, "pass indirect is");

  stringMatches("hello world", /llo\s/);
  stringMatches("hello world""llo\\s");
  stringContains("hello world""llo");
}

99%


¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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 ist noch experimentell.