From e625540e00c9261d2a0e78ad71b6c81d9803b842 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 20 May 2012 20:51:53 +0200 Subject: [PATCH] Add new tests for multiple pyout/display-data --- tests/test-ein-cell-notebook.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/test-ein-cell-notebook.el b/tests/test-ein-cell-notebook.el index 3a341cd..66de6b2 100644 --- a/tests/test-ein-cell-notebook.el +++ b/tests/test-ein-cell-notebook.el @@ -126,6 +126,24 @@ some input ("some output text") ((:text "some output text" :javascript "$.do.something()"))) +(eintest:gene-test-cell-insert-output-pyout-and-display-data + text-two + ("first output text" "second output text") + ((:text "first output text") (:text "second output text"))) + +(eintest:gene-test-cell-insert-output-pyout-and-display-data + text-javascript + ("first output text" "second output text") + ((:text "first output text") + (:text "second output text" :javascript "$.do.something()"))) + +(eintest:gene-test-cell-insert-output-pyout-and-display-data + text-latex-svg + ("first output text" "second output \\\\LaTeX" " ") + ((:text "first output text") + (:text "some output text" :latex "second output \\LaTeX") + (:text "some output text" :svg eintest:example-svg))) + ;; Insert pyerr