Advertisement
logicmoo

Untitled

Oct 20th, 2016
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 3.08 KB | None | 0 0
  1. va] Test FORMAT.F.45 failed
  2.      [java] Form: (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (FORMAT NIL "~2f" 1.1)))
  3.      [java] Expected value:
  4.      [java]           "1.0"
  5.      [java] Actual value:
  6.      [java]           "1."
  7.      [java] Test FORMATTER.F.45 failed
  8.      [java] Form: (LET ((FN (FORMATTER "~2f")) (ARGS (LIST 1.1))) (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (WITH-OUTPUT-TO-STRING (STREAM) (LET ((TAIL (APPLY FN STREAM ARGS))) (ASSERT (= (LENGTH TAIL) 0) (TAIL) "Tail is ~A, length should be ~A" TAIL 0))))))
  9.      [java] Expected value:
  10.      [java]           "1.0"
  11.      [java] Actual value:
  12.      [java]           "1."
  13.      [java]  FORMAT.F.45B FORMATTER.F.45B
  14.      [java] Test FORMAT.F.46 failed
  15.      [java] Form: (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (FORMAT NIL "~0f" 0.01)))
  16.      [java] Expected value:
  17.      [java]           ".0"
  18.      [java] Actual value:
  19.      [java]           "0."
  20.      [java] Test FORMATTER.F.46 failed
  21.      [java] Form: (LET ((FN (FORMATTER "~0f")) (ARGS (LIST 0.01))) (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (WITH-OUTPUT-TO-STRING (STREAM) (LET ((TAIL (APPLY FN STREAM ARGS))) (ASSERT (= (LENGTH TAIL) 0) (TAIL) "Tail is ~A, length should be ~A" TAIL 0))))))
  22.      [java] Expected value:
  23.      [java]           ".0"
  24.      [java] Actual value:
  25.      [java]           "0."
  26.      [java] Test FORMAT.F.46B failed
  27.      [java] Form: (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (FORMAT NIL "~0,0f" 0.01)))
  28.      [java] Expected value:
  29.      [java]           "0."
  30.      [java] Actual value:
  31.      [java]           "."
  32.      [java] Test FORMATTER.F.46B failed
  33.      [java] Form: (LET ((FN (FORMATTER "~0,0f")) (ARGS (LIST 0.01))) (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (WITH-OUTPUT-TO-STRING (STREAM) (LET ((TAIL (APPLY FN STREAM ARGS))) (ASSERT (= (LENGTH TAIL) 0) (TAIL) "Tail is ~A, length should be ~A" TAIL 0))))))
  34.      [java] Expected value:
  35.      [java]           "0."
  36.      [java] Actual value:
  37.      [java]           "."
  38.      [java] Test FORMAT.F.47 failed
  39.      [java] Form: (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (FORMAT NIL "~3f" 1.0E-6)))
  40.      [java] Expected value:
  41.      [java]           "0.0"
  42.      [java] Actual value:
  43.      [java]           ".00"
  44.      [java] Test FORMATTER.F.47 failed
  45.      [java] Form: (LET ((FN (FORMATTER "~3f")) (ARGS (LIST 1.0E-6))) (WITH-STANDARD-IO-SYNTAX (LET ((*PRINT-READABLY* NIL) (*PACKAGE* (SYMBOL-PACKAGE (QUOTE ABC)))) (WITH-OUTPUT-TO-STRING (STREAM) (LET ((TAIL (APPLY FN STREAM ARGS))) (ASSERT (= (LENGTH TAIL) 0) (TAIL) "Tail is ~A, length should be ~A" TAIL 0))))))
  46.      [java] Expected value:
  47.      [java]           "0.0"
  48.      [java] Actual value:
  49.      [java]           ".00"
  50.      [java]  FORMAT.F.48 FORMATTER.F.48 FORMAT.A.1 FORMATTER.A.1 FORMAT.A.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement