| 650 | } |
| 651 | |
| 652 | bool testScriptParamsEqual(const ScriptParamMap &spmA, const ScriptParamMap &spmB) { |
| 653 | // proceed to compare maps here |
| 654 | if (spmA.size() != spmB.size()) |
| 655 | return false; // differing sizes, they are not the same |
| 656 | |
| 657 | ScriptParamMap::const_iterator i, j; |
| 658 | for (i = spmA.begin(), j = spmB.begin(); i != spmA.end(); ++i, ++j) { |
| 659 | if (*i != *j) |
| 660 | return false; |
| 661 | } |
| 662 | |
| 663 | return true; |
| 664 | } |
no test coverage detected