From 043d316d530df48fa020f94e9968896cbf2bfde3 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Wed, 27 Feb 2013 16:40:48 -0500 Subject: [PATCH] Removed test files that are now replaced with XML Factories --- .../test_files/choiceresponse_checkbox.xml | 59 ---------- .../tests/test_files/choiceresponse_radio.xml | 40 ------- .../capa/tests/test_files/coderesponse.xml | 33 ------ .../coderesponse_externalresponseformat.xml | 101 ------------------ .../test_files/formularesponse_with_hint.xml | 45 -------- .../capa/tests/test_files/imageresponse.xml | 40 ------- .../tests/test_files/javascriptresponse.xml | 13 --- .../capa/capa/tests/test_files/multi_bare.xml | 21 ---- .../capa/tests/test_files/multichoice.xml | 21 ---- .../capa/tests/test_files/optionresponse.xml | 63 ----------- .../test_files/stringresponse_with_hint.xml | 25 ----- .../tests/test_files/symbolicresponse.xml | 29 ----- .../capa/capa/tests/test_files/truefalse.xml | 21 ---- 13 files changed, 511 deletions(-) delete mode 100644 common/lib/capa/capa/tests/test_files/choiceresponse_checkbox.xml delete mode 100644 common/lib/capa/capa/tests/test_files/choiceresponse_radio.xml delete mode 100644 common/lib/capa/capa/tests/test_files/coderesponse.xml delete mode 100644 common/lib/capa/capa/tests/test_files/coderesponse_externalresponseformat.xml delete mode 100644 common/lib/capa/capa/tests/test_files/formularesponse_with_hint.xml delete mode 100644 common/lib/capa/capa/tests/test_files/imageresponse.xml delete mode 100644 common/lib/capa/capa/tests/test_files/javascriptresponse.xml delete mode 100644 common/lib/capa/capa/tests/test_files/multi_bare.xml delete mode 100644 common/lib/capa/capa/tests/test_files/multichoice.xml delete mode 100644 common/lib/capa/capa/tests/test_files/optionresponse.xml delete mode 100644 common/lib/capa/capa/tests/test_files/stringresponse_with_hint.xml delete mode 100644 common/lib/capa/capa/tests/test_files/symbolicresponse.xml delete mode 100644 common/lib/capa/capa/tests/test_files/truefalse.xml diff --git a/common/lib/capa/capa/tests/test_files/choiceresponse_checkbox.xml b/common/lib/capa/capa/tests/test_files/choiceresponse_checkbox.xml deleted file mode 100644 index c087266d04..0000000000 --- a/common/lib/capa/capa/tests/test_files/choiceresponse_checkbox.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - diff --git a/common/lib/capa/capa/tests/test_files/choiceresponse_radio.xml b/common/lib/capa/capa/tests/test_files/choiceresponse_radio.xml deleted file mode 100644 index a85d663b2b..0000000000 --- a/common/lib/capa/capa/tests/test_files/choiceresponse_radio.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - diff --git a/common/lib/capa/capa/tests/test_files/coderesponse.xml b/common/lib/capa/capa/tests/test_files/coderesponse.xml deleted file mode 100644 index 1c0bf8d4e6..0000000000 --- a/common/lib/capa/capa/tests/test_files/coderesponse.xml +++ /dev/null @@ -1,33 +0,0 @@ - - -

Code response

- -

-

- - -Write a program to compute the square of a number - - - - def square(x): - answer - grader stuff - - - - - -Write a program to compute the square of a number - - - - def square(x): - answer - grader stuff - - - - -
-
diff --git a/common/lib/capa/capa/tests/test_files/coderesponse_externalresponseformat.xml b/common/lib/capa/capa/tests/test_files/coderesponse_externalresponseformat.xml deleted file mode 100644 index 42b6e0a54a..0000000000 --- a/common/lib/capa/capa/tests/test_files/coderesponse_externalresponseformat.xml +++ /dev/null @@ -1,101 +0,0 @@ - - -

Code response

- -

-

- - -Write a program to compute the square of a number - - - - - - - - -Write a program to compute the cube of a number - - - - - - - -
-
diff --git a/common/lib/capa/capa/tests/test_files/formularesponse_with_hint.xml b/common/lib/capa/capa/tests/test_files/formularesponse_with_hint.xml deleted file mode 100644 index 90248dcf04..0000000000 --- a/common/lib/capa/capa/tests/test_files/formularesponse_with_hint.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - -

Hints can be provided to students, based on the last response given, as well as the history of responses given. Here is an example of a hint produced by a Formula Response problem.

- -

-What is the equation of the line which passess through ($x1,$y1) and -($x2,$y2)?

- -

The correct answer is $answer. A common error is to invert the equation for the slope. Enter -$wrongans to see a hint.

- -
- - - - y = - - - - - You have inverted the slope in the question. - - - -
- diff --git a/common/lib/capa/capa/tests/test_files/imageresponse.xml b/common/lib/capa/capa/tests/test_files/imageresponse.xml deleted file mode 100644 index 41c9f01218..0000000000 --- a/common/lib/capa/capa/tests/test_files/imageresponse.xml +++ /dev/null @@ -1,40 +0,0 @@ - -

-Two skiers are on frictionless black diamond ski slopes. -Hello

- - - -Click on the image where the top skier will stop momentarily if the top skier starts from rest. - -Click on the image where the lower skier will stop momentarily if the lower skier starts from rest. - -Click on either of the two positions as discussed previously. - -Click on either of the two positions as discussed previously. - -Click on either of the two positions as discussed previously. - -

Use conservation of energy.

-
-
- - - - - - - -Click on either of the two positions as discussed previously. - -Click on either of the two positions as discussed previously. - - -Click on either of the two positions as discussed previously. - -

Use conservation of energy.

-
-
- - -
diff --git a/common/lib/capa/capa/tests/test_files/javascriptresponse.xml b/common/lib/capa/capa/tests/test_files/javascriptresponse.xml deleted file mode 100644 index 439866e62c..0000000000 --- a/common/lib/capa/capa/tests/test_files/javascriptresponse.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/common/lib/capa/capa/tests/test_files/multi_bare.xml b/common/lib/capa/capa/tests/test_files/multi_bare.xml deleted file mode 100644 index 20bc8f853d..0000000000 --- a/common/lib/capa/capa/tests/test_files/multi_bare.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - diff --git a/common/lib/capa/capa/tests/test_files/multichoice.xml b/common/lib/capa/capa/tests/test_files/multichoice.xml deleted file mode 100644 index 60bf02ec59..0000000000 --- a/common/lib/capa/capa/tests/test_files/multichoice.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - - diff --git a/common/lib/capa/capa/tests/test_files/optionresponse.xml b/common/lib/capa/capa/tests/test_files/optionresponse.xml deleted file mode 100644 index 99a17e8fac..0000000000 --- a/common/lib/capa/capa/tests/test_files/optionresponse.xml +++ /dev/null @@ -1,63 +0,0 @@ - - -

-Why do bicycles benefit from having larger wheels when going up a bump as shown in the picture?
-Assume that for both bicycles:
-1.) The tires have equal air pressure.
-2.) The bicycles never leave the contact with the bump.
-3.) The bicycles have the same mass. The bicycle tires (regardless of size) have the same mass.
-

-
- -
    -
  • - -

    The bicycles with larger wheels have more time to go over the bump. This decreases the magnitude of the force needed to lift the bicycle.

    -
    - - -
  • -
  • - -

    The bicycles with larger wheels always have a smaller vertical displacement regardless of speed.

    -
    - - -
  • -
  • - -

    The bicycles with larger wheels experience a force backward with less magnitude for the same amount of time.

    -
    - - -
  • -
  • - -

    The bicycles with larger wheels experience a force backward with less magnitude for a greater amount of time.

    -
    - - -
  • -
  • - -

    The bicycles with larger wheels have more kinetic energy turned into gravitational potential energy.

    -
    - - -
  • -
  • - -

    The bicycles with larger wheels have more rotational kinetic energy, so the horizontal velocity of the biker changes less.

    -
    - - -
  • -
- - -
-
-
-
-
-
diff --git a/common/lib/capa/capa/tests/test_files/stringresponse_with_hint.xml b/common/lib/capa/capa/tests/test_files/stringresponse_with_hint.xml deleted file mode 100644 index 86efdf0f18..0000000000 --- a/common/lib/capa/capa/tests/test_files/stringresponse_with_hint.xml +++ /dev/null @@ -1,25 +0,0 @@ - -

Example: String Response Problem

-
-
- - Which US state has Lansing as its capital? - - - - - - - - - The state capital of Wisconsin is Madison. - - - The state capital of Minnesota is St. Paul. - - - The state you are looking for is also known as the 'Great Lakes State' - - - -
diff --git a/common/lib/capa/capa/tests/test_files/symbolicresponse.xml b/common/lib/capa/capa/tests/test_files/symbolicresponse.xml deleted file mode 100644 index 4dc2bc9d7b..0000000000 --- a/common/lib/capa/capa/tests/test_files/symbolicresponse.xml +++ /dev/null @@ -1,29 +0,0 @@ - - -

Example: Symbolic Math Response Problem

- -

-A symbolic math response problem presents one or more symbolic math -input fields for input. Correctness of input is evaluated based on -the symbolic properties of the expression entered. The student enters -text, but sees a proper symbolic rendition of the entered formula, in -real time, next to the input box. -

- -

This is a correct answer which may be entered below:

-

cos(theta)*[[1,0],[0,1]] + i*sin(theta)*[[0,1],[1,0]]

- - - Compute [mathjax] U = \exp\left( i \theta \left[ \begin{matrix} 0 & 1 \\ 1 & 0 \end{matrix} \right] \right) [/mathjax] - and give the resulting \(2 \times 2\) matrix.
- Your input should be typed in as a list of lists, eg [[1,2],[3,4]].
- [mathjax]U=[/mathjax] - - -
-
- -
-
diff --git a/common/lib/capa/capa/tests/test_files/truefalse.xml b/common/lib/capa/capa/tests/test_files/truefalse.xml deleted file mode 100644 index 60018f7a2d..0000000000 --- a/common/lib/capa/capa/tests/test_files/truefalse.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - This is foil One. - - - This is foil Two. - - - This is foil Three. - - - This is foil Four. - - - This is foil Five. - - - -