From 0eb3c569ff1bcd9dc8273ed6b7d8899238c5c13f Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Tue, 2 Jan 2018 09:55:56 +0100 Subject: Add a question sample file in fixtures --- tests/fixtures/qtype_sample_algebra.xml | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/fixtures/qtype_sample_algebra.xml diff --git a/tests/fixtures/qtype_sample_algebra.xml b/tests/fixtures/qtype_sample_algebra.xml new file mode 100644 index 0000000..ec3f81a --- /dev/null +++ b/tests/fixtures/qtype_sample_algebra.xml @@ -0,0 +1,51 @@ + + + + + + $course$/Default for course1 + + + + + + + + Derive + + + What is the derivative of the function \(f(x) = x^2\) ?

]]>
+
+ + Generalfeedback: 2*x is the correct answer.

]]>
+
+ 1.0000000 + 0.3333333 + 0 + eval + 0.001 + 10 + + + + f(x) = + + + 2*x + + Correct.

]]>
+
+
+ + x + + It seems that you forgot something.

]]>
+
+
+ + -5 + 5 + +
+ +
\ No newline at end of file -- cgit v1.2.3