prev  ( testsuite > ErrorHandling > BadChildren > badBvar1  )  next (show test run result)

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:ErrorHandling/BadChildren/badBvar1
CVS-ID:
Author:Design Science, Inc. (D. Doyle)
Description:A comprehensive test of bvar syntax

passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)


Sample Rendering:

N/A

Your browser's rendering:

correct: x correct w/ degree x 2 missing <ci>: missing <ci> w/ degree: 2 2 <ci>s x y 2 w/ degree x y 2 <mi/> used x <mi/> used w/ degree x 2 missing <ci>, 2 degrees 4 2

Source Code:


    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mtable>
        <mtr>
          <mtd>
            <mtext>correct:</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <ci>x</ci> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>correct w/ degree</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <ci>x</ci> 
              <degree>
                <cn>2</cn>
              </degree> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>missing <ci>:</mtext>
          </mtd>
          <mtd> 
            <bvar> </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>missing <ci> w/ degree:
            </mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <degree>
                <cn>2</cn>
              </degree> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>2 <ci>s</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <ci>x</ci> 
              <ci>y</ci> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>2 w/ degree</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <ci>x</ci> 
              <ci>y</ci> 
              <degree>
                <cn>2</cn>
              </degree> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext><mi> used</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <mi>x</mi> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext><mi> used w/ degree</mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <mi>x</mi> 
              <degree>
                <cn>2</cn>
              </degree> 
            </bvar>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtext>missing <ci>, 2 degrees
            </mtext>
          </mtd>
          <mtd> 
            <bvar> 
              <degree>
                <cn>4</cn>
              </degree> 
              <degree>
                <cn>2</cn>
              </degree> 
            </bvar>
          </mtd>
        </mtr>
      </mtable>
    </math>