forked from instructure/qti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes QUIZ-3355 test plan: - cr - import a qti package with mathml block - imported question should have rendered latex Change-Id: I1c8f49197ad1294db32eb226b2951b37050d86d7 Reviewed-on: https://gerrit.instructure.com/144873 Tested-by: Jenkins Reviewed-by: Steve Kacsmark <[email protected]> QA-Review: Steve Kacsmark <[email protected]> Product-Review: Han Yan <[email protected]>
- Loading branch information
Showing
5 changed files
with
129 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Qti | ||
VERSION = '0.9.11'.freeze | ||
VERSION = '0.9.12'.freeze | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<questestinterop xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/ims_qtiasiv1p2 http://www.imsglobal.org/xsd/ims_qtiasiv1p2p1.xsd" | ||
xmlns:m="http://www.w3.org/1998/Math/MathML"> | ||
<assessment ident="i98661073a66c6b2567c8f9b1a22c2988" title="Quiz1.1"> | ||
<section ident="root_section"> | ||
<item ident="ia63b6a115fa68a555398a58626a62f81" title="Question1"> | ||
<presentation> | ||
<material> | ||
<mattext texttype="text/html"><div><p>question 1</p></div></mattext> | ||
</material> | ||
<response_str ident="response1" rcardinality="Single"> | ||
<render_fib fibtype="Decimal"> | ||
<response_label ident="answer1"/> | ||
</render_fib> | ||
</response_str> | ||
</presentation> | ||
<resprocessing> | ||
<outcomes> | ||
<decvar maxvalue="100" minvalue="0" varname="SCORE" vartype="Decimal"/> | ||
</outcomes> | ||
<respcondition continue="No"> | ||
<conditionvar> | ||
<or> | ||
<varequal respident="response1">1234.0</varequal> | ||
<and> | ||
<vargte respident="response1">1234.0</vargte> | ||
<varlte respident="response1">1234.0</varlte> | ||
</and> | ||
</or> | ||
</conditionvar> | ||
<setvar action="Set" varname="SCORE">100</setvar> | ||
</respcondition> | ||
</resprocessing> | ||
</item> | ||
<item ident="i62e978ad510f5b51f61e1073df6357df" title="Question2"> | ||
<presentation> | ||
<material> | ||
<mattext texttype="text/html"><div><p>question 2: </p></div></mattext> | ||
<m:math> | ||
<m:mfrac><m:mn>1</m:mn><m:mn>2</m:mn></m:mfrac><m:mo>×</m:mo><m:mroot><m:mn>379</m:mn><m:mn>10</m:mn></m:mroot> | ||
</m:math> | ||
</material> | ||
<response_str ident="response1" rcardinality="Single"> | ||
<render_fib fibtype="Decimal"> | ||
<response_label ident="answer1"/> | ||
</render_fib> | ||
</response_str> | ||
</presentation> | ||
<resprocessing> | ||
<outcomes> | ||
<decvar maxvalue="100" minvalue="0" varname="SCORE" vartype="Decimal"/> | ||
</outcomes> | ||
<respcondition continue="No"> | ||
<conditionvar> | ||
<or> | ||
<varequal respident="response1">4321.0</varequal> | ||
<and> | ||
<vargte respident="response1">4321.0</vargte> | ||
<varlte respident="response1">4321.0</varlte> | ||
</and> | ||
</or> | ||
</conditionvar> | ||
<setvar action="Set" varname="SCORE">100</setvar> | ||
</respcondition> | ||
<respcondition continue="No"> | ||
<conditionvar> | ||
<or> | ||
<varequal respident="response1">1234.0</varequal> | ||
<and> | ||
<vargte respident="response1">1234.0</vargte> | ||
<varlte respident="response1">1234.0</varlte> | ||
</and> | ||
</or> | ||
</conditionvar> | ||
<setvar action="Set" varname="SCORE">100</setvar> | ||
</respcondition> | ||
<respcondition continue="No"> | ||
<conditionvar> | ||
<or> | ||
<varequal respident="response1">1111.0</varequal> | ||
<and> | ||
<vargte respident="response1">1111.0</vargte> | ||
<varlte respident="response1">1111.0</varlte> | ||
</and> | ||
</or> | ||
</conditionvar> | ||
<setvar action="Set" varname="SCORE">100</setvar> | ||
</respcondition> | ||
</resprocessing> | ||
</item> | ||
</section> | ||
</assessment> | ||
</questestinterop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters