<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="unittest_main" x="14" y="-11">
    <statement name="DO">
      <block type="procedures_callnoreturn">
        <mutation name="test empty"></mutation>
        <next>
          <block type="procedures_callnoreturn">
            <mutation name="test length"></mutation>
            <next>
              <block type="procedures_callnoreturn">
                <mutation name="test find"></mutation>
                <next>
                  <block type="procedures_callnoreturn">
                    <mutation name="test get"></mutation>
                    <next>
                      <block type="procedures_callnoreturn">
                        <mutation name="test get remove"></mutation>
                        <next>
                          <block type="procedures_callnoreturn">
                            <mutation name="test remove"></mutation>
                            <next>
                              <block type="procedures_callnoreturn">
                                <mutation name="test set"></mutation>
                                <next>
                                  <block type="procedures_callnoreturn">
                                    <mutation name="test insert"></mutation>
                                    <next>
                                      <block type="procedures_callnoreturn">
                                        <mutation name="test sublist"></mutation>
                                        <next>
                                          <block type="procedures_callnoreturn">
                                            <mutation name="test join"></mutation>
                                            <next>
                                              <block type="procedures_callnoreturn">
                                                <mutation name="test split"></mutation>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="36" y="439">
    <field name="NAME">test create</field>
    <statement name="STACK">
      <block type="unittest_assertequals" inline="false">
        <field name="MESSAGE">test create empty</field>
        <value name="ACTUAL">
          <block type="lists_create_with">
            <mutation items="0"></mutation>
          </block>
        </value>
        <value name="EXPECTED">
          <block type="lists_create_empty"></block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">test create items</field>
            <value name="ACTUAL">
              <block type="lists_create_with" inline="false">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="logic_boolean">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text">
                    <field name="TEXT">love</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="lists_create_with" inline="false">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="logic_boolean">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text">
                    <field name="TEXT">love</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">test create repeated</field>
                <value name="ACTUAL">
                  <block type="lists_repeat" inline="true">
                    <value name="ITEM">
                      <block type="text">
                        <field name="TEXT">Eject</field>
                      </block>
                    </value>
                    <value name="NUM">
                      <block type="math_number">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Eject</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">Eject</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text">
                        <field name="TEXT">Eject</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="33" y="965">
    <field name="NAME">test empty</field>
    <statement name="STACK">
      <block type="unittest_assertvalue" inline="false">
        <field name="MESSAGE">not empty</field>
        <field name="EXPECTED">FALSE</field>
        <value name="ACTUAL">
          <block type="lists_isEmpty" inline="false">
            <value name="VALUE">
              <block type="lists_create_with" inline="false">
                <mutation items="1"></mutation>
                <value name="ADD0">
                  <block type="math_number">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertvalue" inline="false">
            <field name="MESSAGE">empty</field>
            <field name="EXPECTED">TRUE</field>
            <value name="ACTUAL">
              <block type="lists_isEmpty" inline="false">
                <value name="VALUE">
                  <block type="lists_create_empty"></block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="25" y="1181">
    <field name="NAME">test length</field>
    <statement name="STACK">
      <block type="unittest_assertequals" inline="false">
        <field name="MESSAGE">zero length</field>
        <value name="ACTUAL">
          <block type="lists_length" inline="false">
            <value name="VALUE">
              <block type="lists_create_empty"></block>
            </value>
          </block>
        </value>
        <value name="EXPECTED">
          <block type="math_number">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">one length</field>
            <value name="ACTUAL">
              <block type="lists_length" inline="false">
                <value name="VALUE">
                  <block type="lists_create_with" inline="false">
                    <mutation items="1"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">cat</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="math_number">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">three length</field>
                <value name="ACTUAL">
                  <block type="lists_length" inline="false">
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">cat</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="logic_boolean">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="lists_create_empty"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="math_number">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="24" y="1556">
    <field name="NAME">test find</field>
    <statement name="STACK">
      <block type="unittest_assertequals" inline="false">
        <field name="MESSAGE">find first</field>
        <value name="ACTUAL">
          <block type="lists_indexOf" inline="false">
            <field name="END">FIRST</field>
            <value name="VALUE">
              <block type="lists_create_with" inline="false">
                <mutation items="4"></mutation>
                <value name="ADD0">
                  <block type="text">
                    <field name="TEXT">Alice</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text">
                    <field name="TEXT">Eve</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text">
                    <field name="TEXT">Bob</field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="text">
                    <field name="TEXT">Eve</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="FIND">
              <block type="text">
                <field name="TEXT">Eve</field>
              </block>
            </value>
          </block>
        </value>
        <value name="EXPECTED">
          <block type="math_number">
            <field name="NUM">2</field>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">find last</field>
            <value name="ACTUAL">
              <block type="lists_indexOf" inline="false">
                <field name="END">LAST</field>
                <value name="VALUE">
                  <block type="lists_create_with" inline="false">
                    <mutation items="4"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Alice</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">Eve</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text">
                        <field name="TEXT">Bob</field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="text">
                        <field name="TEXT">Eve</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="FIND">
                  <block type="text">
                    <field name="TEXT">Eve</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="math_number">
                <field name="NUM">4</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">find none</field>
                <value name="ACTUAL">
                  <block type="lists_indexOf" inline="false">
                    <field name="END">FIRST</field>
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="4"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">Alice</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text">
                            <field name="TEXT">Bob</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text">
                            <field name="TEXT">Carol</field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="text">
                            <field name="TEXT">Dave</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="FIND">
                      <block type="text">
                        <field name="TEXT">Eve</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="math_number">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="25" y="2199">
    <field name="NAME">test get</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Kirk</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Spock</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">McCoy</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">get first</field>
            <value name="ACTUAL">
              <block type="lists_getIndex">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FIRST</field>
                <value name="VALUE">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="text">
                <field name="TEXT">Kirk</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">get last</field>
                <value name="ACTUAL">
                  <block type="lists_getIndex">
                    <mutation statement="false" at="false"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">LAST</field>
                    <value name="VALUE">
                      <block type="variables_get">
                        <field name="VAR">list</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="text">
                    <field name="TEXT">McCoy</field>
                  </block>
                </value>
                <next>
                  <block type="unittest_assertvalue" inline="false">
                    <field name="MESSAGE">get random</field>
                    <field name="EXPECTED">TRUE</field>
                    <value name="ACTUAL">
                      <block type="math_number_property">
                        <mutation divisor_input="false"></mutation>
                        <field name="PROPERTY">POSITIVE</field>
                        <value name="NUMBER_TO_CHECK">
                          <block type="lists_indexOf" inline="false">
                            <field name="END">FIRST</field>
                            <value name="VALUE">
                              <block type="variables_get">
                                <field name="VAR">list</field>
                              </block>
                            </value>
                            <value name="FIND">
                              <block type="lists_getIndex">
                                <mutation statement="false" at="false"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">RANDOM</field>
                                <value name="VALUE">
                                  <block type="variables_get">
                                    <field name="VAR">list</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="unittest_assertequals" inline="false">
                        <field name="MESSAGE">get #</field>
                        <value name="ACTUAL">
                          <block type="lists_getIndex">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="variables_get">
                                <field name="VAR">list</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="EXPECTED">
                          <block type="text">
                            <field name="TEXT">Spock</field>
                          </block>
                        </value>
                        <next>
                          <block type="unittest_assertequals" inline="false">
                            <field name="MESSAGE">get #-end</field>
                            <value name="ACTUAL">
                              <block type="lists_getIndex">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get">
                                    <field name="VAR">list</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number">
                                    <field name="NUM">3</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="EXPECTED">
                              <block type="text">
                                <field name="TEXT">Kirk</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="23" y="2832">
    <field name="NAME">test get remove</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Kirk</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Spock</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">McCoy</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">getremove first</field>
            <value name="ACTUAL">
              <block type="lists_getIndex">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET_REMOVE</field>
                <field name="WHERE">FIRST</field>
                <value name="VALUE">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="text">
                <field name="TEXT">Kirk</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">getremove first list</field>
                <value name="ACTUAL">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Spock</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">McCoy</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" inline="false">
                    <field name="VAR">list</field>
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">Kirk</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text">
                            <field name="TEXT">Spock</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text">
                            <field name="TEXT">McCoy</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="unittest_assertequals" inline="false">
                        <field name="MESSAGE">getremove last</field>
                        <value name="ACTUAL">
                          <block type="lists_getIndex">
                            <mutation statement="false" at="false"></mutation>
                            <field name="MODE">GET_REMOVE</field>
                            <field name="WHERE">LAST</field>
                            <value name="VALUE">
                              <block type="variables_get">
                                <field name="VAR">list</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="EXPECTED">
                          <block type="text">
                            <field name="TEXT">McCoy</field>
                          </block>
                        </value>
                        <next>
                          <block type="unittest_assertequals" inline="false">
                            <field name="MESSAGE">getremove last list</field>
                            <value name="ACTUAL">
                              <block type="variables_get">
                                <field name="VAR">list</field>
                              </block>
                            </value>
                            <value name="EXPECTED">
                              <block type="lists_create_with" inline="false">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text">
                                    <field name="TEXT">Kirk</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text">
                                    <field name="TEXT">Spock</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" inline="false">
                                <field name="VAR">list</field>
                                <value name="VALUE">
                                  <block type="lists_create_with" inline="false">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text">
                                        <field name="TEXT">Kirk</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text">
                                        <field name="TEXT">Spock</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text">
                                        <field name="TEXT">McCoy</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="unittest_assertvalue" inline="false">
                                    <field name="MESSAGE">getremove random</field>
                                    <field name="EXPECTED">TRUE</field>
                                    <value name="ACTUAL">
                                      <block type="logic_compare">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="lists_indexOf" inline="false">
                                            <field name="END">FIRST</field>
                                            <value name="VALUE">
                                              <block type="variables_get">
                                                <field name="VAR">list</field>
                                              </block>
                                            </value>
                                            <value name="FIND">
                                              <block type="lists_getIndex">
                                                <mutation statement="false" at="false"></mutation>
                                                <field name="MODE">GET_REMOVE</field>
                                                <field name="WHERE">RANDOM</field>
                                                <value name="VALUE">
                                                  <block type="variables_get">
                                                    <field name="VAR">list</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="unittest_assertequals" inline="false">
                                        <field name="MESSAGE">getremove random list</field>
                                        <value name="ACTUAL">
                                          <block type="lists_length" inline="false">
                                            <value name="VALUE">
                                              <block type="variables_get">
                                                <field name="VAR">list</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="EXPECTED">
                                          <block type="math_number">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" inline="false">
                                            <field name="VAR">list</field>
                                            <value name="VALUE">
                                              <block type="lists_create_with" inline="false">
                                                <mutation items="3"></mutation>
                                                <value name="ADD0">
                                                  <block type="text">
                                                    <field name="TEXT">Kirk</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text">
                                                    <field name="TEXT">Spock</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="text">
                                                    <field name="TEXT">McCoy</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="unittest_assertequals" inline="false">
                                                <field name="MESSAGE">getremove #</field>
                                                <value name="ACTUAL">
                                                  <block type="lists_getIndex">
                                                    <mutation statement="false" at="true"></mutation>
                                                    <field name="MODE">GET_REMOVE</field>
                                                    <field name="WHERE">FROM_START</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get">
                                                        <field name="VAR">list</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number">
                                                        <field name="NUM">2</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="EXPECTED">
                                                  <block type="text">
                                                    <field name="TEXT">Spock</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="unittest_assertequals" inline="false">
                                                    <field name="MESSAGE">getremove # list</field>
                                                    <value name="ACTUAL">
                                                      <block type="variables_get">
                                                        <field name="VAR">list</field>
                                                      </block>
                                                    </value>
                                                    <value name="EXPECTED">
                                                      <block type="lists_create_with" inline="false">
                                                        <mutation items="2"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text">
                                                            <field name="TEXT">Kirk</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text">
                                                            <field name="TEXT">McCoy</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" inline="false">
                                                        <field name="VAR">list</field>
                                                        <value name="VALUE">
                                                          <block type="lists_create_with" inline="false">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text">
                                                                <field name="TEXT">Kirk</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text">
                                                                <field name="TEXT">Spock</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text">
                                                                <field name="TEXT">McCoy</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="unittest_assertequals" inline="false">
                                                            <field name="MESSAGE">getremove #-end</field>
                                                            <value name="ACTUAL">
                                                              <block type="lists_getIndex">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET_REMOVE</field>
                                                                <field name="WHERE">FROM_END</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get">
                                                                    <field name="VAR">list</field>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number">
                                                                    <field name="NUM">3</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="EXPECTED">
                                                              <block type="text">
                                                                <field name="TEXT">Kirk</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="unittest_assertequals" inline="false">
                                                                <field name="MESSAGE">getremove #-end list</field>
                                                                <value name="ACTUAL">
                                                                  <block type="variables_get">
                                                                    <field name="VAR">list</field>
                                                                  </block>
                                                                </value>
                                                                <value name="EXPECTED">
                                                                  <block type="lists_create_with" inline="false">
                                                                    <mutation items="2"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text">
                                                                        <field name="TEXT">Spock</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text">
                                                                        <field name="TEXT">McCoy</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="15" y="4378">
    <field name="NAME">test remove</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Kirk</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Spock</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">McCoy</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="lists_getIndex">
            <mutation statement="true" at="false"></mutation>
            <field name="MODE">REMOVE</field>
            <field name="WHERE">FIRST</field>
            <value name="VALUE">
              <block type="variables_get">
                <field name="VAR">list</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">remove first list</field>
                <value name="ACTUAL">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Spock</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">McCoy</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" inline="false">
                    <field name="VAR">list</field>
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">Kirk</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text">
                            <field name="TEXT">Spock</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text">
                            <field name="TEXT">McCoy</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="lists_getIndex">
                        <mutation statement="true" at="false"></mutation>
                        <field name="MODE">REMOVE</field>
                        <field name="WHERE">LAST</field>
                        <value name="VALUE">
                          <block type="variables_get">
                            <field name="VAR">list</field>
                          </block>
                        </value>
                        <next>
                          <block type="unittest_assertequals" inline="false">
                            <field name="MESSAGE">remove last list</field>
                            <value name="ACTUAL">
                              <block type="variables_get">
                                <field name="VAR">list</field>
                              </block>
                            </value>
                            <value name="EXPECTED">
                              <block type="lists_create_with" inline="false">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text">
                                    <field name="TEXT">Kirk</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text">
                                    <field name="TEXT">Spock</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" inline="false">
                                <field name="VAR">list</field>
                                <value name="VALUE">
                                  <block type="lists_create_with" inline="false">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text">
                                        <field name="TEXT">Kirk</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text">
                                        <field name="TEXT">Spock</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text">
                                        <field name="TEXT">McCoy</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="lists_getIndex">
                                    <mutation statement="true" at="false"></mutation>
                                    <field name="MODE">REMOVE</field>
                                    <field name="WHERE">RANDOM</field>
                                    <value name="VALUE">
                                      <block type="variables_get">
                                        <field name="VAR">list</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="unittest_assertequals" inline="false">
                                        <field name="MESSAGE">remove random list</field>
                                        <value name="ACTUAL">
                                          <block type="lists_length" inline="false">
                                            <value name="VALUE">
                                              <block type="variables_get">
                                                <field name="VAR">list</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="EXPECTED">
                                          <block type="math_number">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" inline="false">
                                            <field name="VAR">list</field>
                                            <value name="VALUE">
                                              <block type="lists_create_with" inline="false">
                                                <mutation items="3"></mutation>
                                                <value name="ADD0">
                                                  <block type="text">
                                                    <field name="TEXT">Kirk</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text">
                                                    <field name="TEXT">Spock</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="text">
                                                    <field name="TEXT">McCoy</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="lists_getIndex">
                                                <mutation statement="true" at="true"></mutation>
                                                <field name="MODE">REMOVE</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get">
                                                    <field name="VAR">list</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="unittest_assertequals" inline="false">
                                                    <field name="MESSAGE">remove # list</field>
                                                    <value name="ACTUAL">
                                                      <block type="variables_get">
                                                        <field name="VAR">list</field>
                                                      </block>
                                                    </value>
                                                    <value name="EXPECTED">
                                                      <block type="lists_create_with" inline="false">
                                                        <mutation items="2"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text">
                                                            <field name="TEXT">Kirk</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text">
                                                            <field name="TEXT">McCoy</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" inline="false">
                                                        <field name="VAR">list</field>
                                                        <value name="VALUE">
                                                          <block type="lists_create_with" inline="false">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text">
                                                                <field name="TEXT">Kirk</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text">
                                                                <field name="TEXT">Spock</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text">
                                                                <field name="TEXT">McCoy</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="lists_getIndex">
                                                            <mutation statement="true" at="true"></mutation>
                                                            <field name="MODE">REMOVE</field>
                                                            <field name="WHERE">FROM_END</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get">
                                                                <field name="VAR">list</field>
                                                              </block>
                                                            </value>
                                                            <value name="AT">
                                                              <block type="math_number">
                                                                <field name="NUM">3</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="unittest_assertequals" inline="false">
                                                                <field name="MESSAGE">remove #-end list</field>
                                                                <value name="ACTUAL">
                                                                  <block type="variables_get">
                                                                    <field name="VAR">list</field>
                                                                  </block>
                                                                </value>
                                                                <value name="EXPECTED">
                                                                  <block type="lists_create_with" inline="false">
                                                                    <mutation items="2"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text">
                                                                        <field name="TEXT">Spock</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text">
                                                                        <field name="TEXT">McCoy</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="17" y="5626">
    <field name="NAME">test set</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">x</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Picard</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Riker</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">Crusher</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="lists_setIndex">
            <mutation at="false"></mutation>
            <field name="MODE">SET</field>
            <field name="WHERE">FIRST</field>
            <value name="LIST">
              <block type="variables_get">
                <field name="VAR">x</field>
              </block>
            </value>
            <value name="TO">
              <block type="text">
                <field name="TEXT">Jean-Luc</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">set first list</field>
                <value name="ACTUAL">
                  <block type="variables_get">
                    <field name="VAR">x</field>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Jean-Luc</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">Riker</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text">
                        <field name="TEXT">Crusher</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" inline="false">
                    <field name="VAR">x</field>
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">Picard</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text">
                            <field name="TEXT">Riker</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text">
                            <field name="TEXT">Crusher</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="lists_setIndex">
                        <mutation at="false"></mutation>
                        <field name="MODE">SET</field>
                        <field name="WHERE">LAST</field>
                        <value name="LIST">
                          <block type="variables_get">
                            <field name="VAR">x</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="text">
                            <field name="TEXT">Beverly</field>
                          </block>
                        </value>
                        <next>
                          <block type="unittest_assertequals" inline="false">
                            <field name="MESSAGE">set last list</field>
                            <value name="ACTUAL">
                              <block type="variables_get">
                                <field name="VAR">x</field>
                              </block>
                            </value>
                            <value name="EXPECTED">
                              <block type="lists_create_with" inline="false">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text">
                                    <field name="TEXT">Picard</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text">
                                    <field name="TEXT">Riker</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text">
                                    <field name="TEXT">Beverly</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" inline="false">
                                <field name="VAR">x</field>
                                <value name="VALUE">
                                  <block type="lists_create_with" inline="false">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text">
                                        <field name="TEXT">Picard</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text">
                                        <field name="TEXT">Riker</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text">
                                        <field name="TEXT">Crusher</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="lists_setIndex">
                                    <mutation at="false"></mutation>
                                    <field name="MODE">SET</field>
                                    <field name="WHERE">RANDOM</field>
                                    <value name="LIST">
                                      <block type="variables_get">
                                        <field name="VAR">x</field>
                                      </block>
                                    </value>
                                    <value name="TO">
                                      <block type="text">
                                        <field name="TEXT">Data</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="unittest_assertequals" inline="false">
                                        <field name="MESSAGE">set random list</field>
                                        <value name="ACTUAL">
                                          <block type="lists_length" inline="false">
                                            <value name="VALUE">
                                              <block type="variables_get">
                                                <field name="VAR">x</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="EXPECTED">
                                          <block type="math_number">
                                            <field name="NUM">3</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" inline="false">
                                            <field name="VAR">x</field>
                                            <value name="VALUE">
                                              <block type="lists_create_with" inline="false">
                                                <mutation items="3"></mutation>
                                                <value name="ADD0">
                                                  <block type="text">
                                                    <field name="TEXT">Picard</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text">
                                                    <field name="TEXT">Riker</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="text">
                                                    <field name="TEXT">Crusher</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="lists_setIndex">
                                                <mutation at="true"></mutation>
                                                <field name="MODE">SET</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="LIST">
                                                  <block type="variables_get">
                                                    <field name="VAR">x</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                                <value name="TO">
                                                  <block type="text">
                                                    <field name="TEXT">Pulaski</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="unittest_assertequals" inline="false">
                                                    <field name="MESSAGE">set # list</field>
                                                    <value name="ACTUAL">
                                                      <block type="variables_get">
                                                        <field name="VAR">x</field>
                                                      </block>
                                                    </value>
                                                    <value name="EXPECTED">
                                                      <block type="lists_create_with" inline="false">
                                                        <mutation items="3"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text">
                                                            <field name="TEXT">Picard</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text">
                                                            <field name="TEXT">Riker</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text">
                                                            <field name="TEXT">Pulaski</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" inline="false">
                                                        <field name="VAR">x</field>
                                                        <value name="VALUE">
                                                          <block type="lists_create_with" inline="false">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text">
                                                                <field name="TEXT">Picard</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text">
                                                                <field name="TEXT">Riker</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text">
                                                                <field name="TEXT">Crusher</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="lists_setIndex">
                                                            <mutation at="true"></mutation>
                                                            <field name="MODE">SET</field>
                                                            <field name="WHERE">FROM_END</field>
                                                            <value name="LIST">
                                                              <block type="variables_get">
                                                                <field name="VAR">x</field>
                                                              </block>
                                                            </value>
                                                            <value name="AT">
                                                              <block type="math_number">
                                                                <field name="NUM">1</field>
                                                              </block>
                                                            </value>
                                                            <value name="TO">
                                                              <block type="text">
                                                                <field name="TEXT">Pulaski</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="unittest_assertequals" inline="false">
                                                                <field name="MESSAGE">set #-end list</field>
                                                                <value name="ACTUAL">
                                                                  <block type="variables_get">
                                                                    <field name="VAR">x</field>
                                                                  </block>
                                                                </value>
                                                                <value name="EXPECTED">
                                                                  <block type="lists_create_with" inline="false">
                                                                    <mutation items="3"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text">
                                                                        <field name="TEXT">Picard</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text">
                                                                        <field name="TEXT">Riker</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD2">
                                                                      <block type="text">
                                                                        <field name="TEXT">Pulaski</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="32" y="6947">
    <field name="NAME">test insert</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">x</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Picard</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Riker</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">Crusher</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="lists_setIndex">
            <mutation at="false"></mutation>
            <field name="MODE">INSERT</field>
            <field name="WHERE">FIRST</field>
            <value name="LIST">
              <block type="variables_get">
                <field name="VAR">x</field>
              </block>
            </value>
            <value name="TO">
              <block type="text">
                <field name="TEXT">Data</field>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">insert first list</field>
                <value name="ACTUAL">
                  <block type="variables_get">
                    <field name="VAR">x</field>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="4"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Data</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">Picard</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text">
                        <field name="TEXT">Riker</field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="text">
                        <field name="TEXT">Crusher</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" inline="false">
                    <field name="VAR">x</field>
                    <value name="VALUE">
                      <block type="lists_create_with" inline="false">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text">
                            <field name="TEXT">Picard</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text">
                            <field name="TEXT">Riker</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text">
                            <field name="TEXT">Crusher</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="lists_setIndex">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">LAST</field>
                        <value name="LIST">
                          <block type="variables_get">
                            <field name="VAR">x</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="text">
                            <field name="TEXT">Data</field>
                          </block>
                        </value>
                        <next>
                          <block type="unittest_assertequals" inline="false">
                            <field name="MESSAGE">insert last list</field>
                            <value name="ACTUAL">
                              <block type="variables_get">
                                <field name="VAR">x</field>
                              </block>
                            </value>
                            <value name="EXPECTED">
                              <block type="lists_create_with" inline="false">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="text">
                                    <field name="TEXT">Picard</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text">
                                    <field name="TEXT">Riker</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text">
                                    <field name="TEXT">Crusher</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="text">
                                    <field name="TEXT">Data</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" inline="false">
                                <field name="VAR">x</field>
                                <value name="VALUE">
                                  <block type="lists_create_with" inline="false">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text">
                                        <field name="TEXT">Picard</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text">
                                        <field name="TEXT">Riker</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text">
                                        <field name="TEXT">Crusher</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="lists_setIndex">
                                    <mutation at="false"></mutation>
                                    <field name="MODE">INSERT</field>
                                    <field name="WHERE">RANDOM</field>
                                    <value name="LIST">
                                      <block type="variables_get">
                                        <field name="VAR">x</field>
                                      </block>
                                    </value>
                                    <value name="TO">
                                      <block type="text">
                                        <field name="TEXT">Data</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="unittest_assertequals" inline="false">
                                        <field name="MESSAGE">insert random list</field>
                                        <value name="ACTUAL">
                                          <block type="lists_length" inline="false">
                                            <value name="VALUE">
                                              <block type="variables_get">
                                                <field name="VAR">x</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="EXPECTED">
                                          <block type="math_number">
                                            <field name="NUM">4</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" inline="false">
                                            <field name="VAR">x</field>
                                            <value name="VALUE">
                                              <block type="lists_create_with" inline="false">
                                                <mutation items="3"></mutation>
                                                <value name="ADD0">
                                                  <block type="text">
                                                    <field name="TEXT">Picard</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text">
                                                    <field name="TEXT">Riker</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="text">
                                                    <field name="TEXT">Crusher</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="lists_setIndex">
                                                <mutation at="true"></mutation>
                                                <field name="MODE">INSERT</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="LIST">
                                                  <block type="variables_get">
                                                    <field name="VAR">x</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                                <value name="TO">
                                                  <block type="text">
                                                    <field name="TEXT">Data</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="unittest_assertequals" inline="false">
                                                    <field name="MESSAGE">insert # list</field>
                                                    <value name="ACTUAL">
                                                      <block type="variables_get">
                                                        <field name="VAR">x</field>
                                                      </block>
                                                    </value>
                                                    <value name="EXPECTED">
                                                      <block type="lists_create_with" inline="false">
                                                        <mutation items="4"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text">
                                                            <field name="TEXT">Picard</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text">
                                                            <field name="TEXT">Riker</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text">
                                                            <field name="TEXT">Data</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD3">
                                                          <block type="text">
                                                            <field name="TEXT">Crusher</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" inline="false">
                                                        <field name="VAR">x</field>
                                                        <value name="VALUE">
                                                          <block type="lists_create_with" inline="false">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text">
                                                                <field name="TEXT">Picard</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text">
                                                                <field name="TEXT">Riker</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text">
                                                                <field name="TEXT">Crusher</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="lists_setIndex">
                                                            <mutation at="true"></mutation>
                                                            <field name="MODE">INSERT</field>
                                                            <field name="WHERE">FROM_END</field>
                                                            <value name="LIST">
                                                              <block type="variables_get">
                                                                <field name="VAR">x</field>
                                                              </block>
                                                            </value>
                                                            <value name="AT">
                                                              <block type="math_number">
                                                                <field name="NUM">1</field>
                                                              </block>
                                                            </value>
                                                            <value name="TO">
                                                              <block type="text">
                                                                <field name="TEXT">Data</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="unittest_assertequals" inline="false">
                                                                <field name="MESSAGE">insert #-end list</field>
                                                                <value name="ACTUAL">
                                                                  <block type="variables_get">
                                                                    <field name="VAR">x</field>
                                                                  </block>
                                                                </value>
                                                                <value name="EXPECTED">
                                                                  <block type="lists_create_with" inline="false">
                                                                    <mutation items="4"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text">
                                                                        <field name="TEXT">Picard</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text">
                                                                        <field name="TEXT">Riker</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD2">
                                                                      <block type="text">
                                                                        <field name="TEXT">Data</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD3">
                                                                      <block type="text">
                                                                        <field name="TEXT">Crusher</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="47" y="8393">
    <field name="NAME">test sublist</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="5"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Columbia</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Challenger</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">Discovery</field>
              </block>
            </value>
            <value name="ADD3">
              <block type="text">
                <field name="TEXT">Atlantis</field>
              </block>
            </value>
            <value name="ADD4">
              <block type="text">
                <field name="TEXT">Endeavour</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">sublist # start</field>
            <value name="ACTUAL">
              <block type="lists_getSublist">
                <mutation at1="true" at2="true"></mutation>
                <field name="WHERE1">FROM_START</field>
                <field name="WHERE2">FROM_START</field>
                <value name="LIST">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_number">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <value name="AT2">
                  <block type="math_number">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="lists_create_with" inline="false">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text">
                    <field name="TEXT">Challenger</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text">
                    <field name="TEXT">Discovery</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="unittest_assertequals" inline="false">
                <field name="MESSAGE">sublist # end</field>
                <value name="ACTUAL">
                  <block type="lists_getSublist">
                    <mutation at1="true" at2="true"></mutation>
                    <field name="WHERE1">FROM_END</field>
                    <field name="WHERE2">FROM_END</field>
                    <value name="LIST">
                      <block type="variables_get">
                        <field name="VAR">list</field>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="math_number">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                    <value name="AT2">
                      <block type="math_number">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="EXPECTED">
                  <block type="lists_create_with" inline="false">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text">
                        <field name="TEXT">Discovery</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text">
                        <field name="TEXT">Atlantis</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="unittest_assertequals" inline="false">
                    <field name="MESSAGE">sublist first-last</field>
                    <value name="ACTUAL">
                      <block type="lists_getSublist">
                        <mutation at1="false" at2="false"></mutation>
                        <field name="WHERE1">FIRST</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block type="variables_get">
                            <field name="VAR">list</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="EXPECTED">
                      <block type="variables_get">
                        <field name="VAR">list</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="52" y="8999">
    <field name="NAME">test join</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_create_with" inline="false">
            <mutation items="3"></mutation>
            <value name="ADD0">
              <block type="text">
                <field name="TEXT">Vulcan</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text">
                <field name="TEXT">Klingon</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="text">
                <field name="TEXT">Borg</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">join</field>
            <value name="ACTUAL">
              <block type="lists_split">
                <mutation mode="JOIN"></mutation>
                <field name="MODE">JOIN</field>
                <value name="INPUT">
                  <block type="variables_get">
                    <field name="VAR">list</field>
                  </block>
                </value>
                <value name="DELIM">
                  <block type="text">
                    <field name="TEXT">,</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="text">
                <field name="TEXT">Vulcan,Klingon,Borg</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" x="46" y="9316">
    <field name="NAME">test split</field>
    <statement name="STACK">
      <block type="variables_set" inline="false">
        <field name="VAR">list</field>
        <value name="VALUE">
          <block type="lists_split">
            <mutation mode="SPLIT"></mutation>
            <field name="MODE">SPLIT</field>
            <value name="INPUT">
              <block type="text">
                <field name="TEXT">Vulcan,Klingon,Borg</field>
              </block>
            </value>
            <value name="DELIM">
              <block type="text">
                <field name="TEXT">,</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">join</field>
            <value name="ACTUAL">
              <block type="variables_get">
                <field name="VAR">list</field>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="lists_create_with" inline="false">
                <mutation items="3"></mutation>
                <value name="ADD0">
                  <block type="text">
                    <field name="TEXT">Vulcan</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text">
                    <field name="TEXT">Klingon</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text">
                    <field name="TEXT">Borg</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
