pike.git / lib / modules / Standards.pmod / testsuite.in

version» Context lines:

pike.git/lib/modules/Standards.pmod/testsuite.in:3:   // - Standards.ISO639_2   test_equal(Standards.ISO639_2.get_language("swe"),"Swedish")   test_equal(Standards.ISO639_2.get_language("xxx"),0)   test_true(sizeof(Standards.ISO639_2.list_languages())>400)   test_equal(Standards.ISO639_2.map_639_1("sv"),"swe")   test_equal(Standards.ISO639_2.map_639_1("xx"),0)   test_true(sizeof(Standards.ISO639_2.list_639_1())>150)   test_do(   class A {    inherit Standards.ISO639_2; -  void create() { +  protected void create() {    foreach(indices(b_to_t), string symbol)    if(languages[symbol]) error("Overlap in symbol %s\n", symbol);    }   }   A(); )         // - Standards.PEM   test_any_equal([[   string pem = #"-----BEGIN PRIVACY-ENHANCED MESSAGE-----