Skip to content

Commit

Permalink
Add the mathml tests from MathCAT
Browse files Browse the repository at this point in the history
- Add the mathml tests from the MathCAT project
- integrate them in the build and test system

Co-authored-by: Attila Hammer <[email protected]>
Co-authored-by: NSoiffer <[email protected]>
  • Loading branch information
2 people authored and egli committed Aug 15, 2023
1 parent 935bb3c commit 409059d
Show file tree
Hide file tree
Showing 514 changed files with 2,012 additions and 0 deletions.
90 changes: 90 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IndentCaseLabels: true
IndentWidth: 2
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 8
UseTab: ForIndentation
...

170 changes: 170 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,176 @@ AC_CONFIG_FILES([Makefile
tests/mathml_nemeth/munderover_01.test/Makefile
tests/mathml_nemeth/munderover_02.test/Makefile
tests/mathml_nemeth/munderover_03.test/Makefile
tests/nemeth_MathCAT/Makefile
tests/nemeth_MathCAT/above_and_below_88_2.test/Makefile
tests/nemeth_MathCAT/arrow_96_1.test/Makefile
tests/nemeth_MathCAT/arrow_96_4.test/Makefile
tests/nemeth_MathCAT/as_multiscript_nested_sub_sup_74_c_5.test/Makefile
tests/nemeth_MathCAT/bar_97_b_1.test/Makefile
tests/nemeth_MathCAT/bar_above_and_below_88_1.test/Makefile
tests/nemeth_MathCAT/baseline_80_a_1.test/Makefile
tests/nemeth_MathCAT/beveled_frac_62_b_1.test/Makefile
tests/nemeth_MathCAT/binomial_90_1.test/Makefile
tests/nemeth_MathCAT/boldface_32_b_3.test/Makefile
tests/nemeth_MathCAT/boldface_32_b_6.test/Makefile
tests/nemeth_MathCAT/cap_22_a_1.test/Makefile
tests/nemeth_MathCAT/cap_roman_numeral_18_a_3.test/Makefile
tests/nemeth_MathCAT/carrot_98_1.test/Makefile
tests/nemeth_MathCAT/comma_78_2.test/Makefile
tests/nemeth_MathCAT/comma_78_2_invisible.test/Makefile
tests/nemeth_MathCAT/comma_78_3.test/Makefile
tests/nemeth_MathCAT/comma_78_6.test/Makefile
tests/nemeth_MathCAT/comma_ellipsis_in_sub_79_b_5.test/Makefile
tests/nemeth_MathCAT/comma_in_number_in_sup_79_b_3.test/Makefile
tests/nemeth_MathCAT/comma_in_sup_79_b_4.test/Makefile
tests/nemeth_MathCAT/comma_number_77_4_20.test/Makefile
tests/nemeth_MathCAT/comma_space_78_1.test/Makefile
tests/nemeth_MathCAT/comparison_79_g_2.test/Makefile
tests/nemeth_MathCAT/complex_frac_66_1.test/Makefile
tests/nemeth_MathCAT/dash_42_4.test/Makefile
tests/nemeth_MathCAT/dash_42_6.test/Makefile
tests/nemeth_MathCAT/dots_99_a_1.test/Makefile
tests/nemeth_MathCAT/dots_99_a_2.test/Makefile
tests/nemeth_MathCAT/dots_99_a_3.test/Makefile
tests/nemeth_MathCAT/ellipsis_43_b_3.test/Makefile
tests/nemeth_MathCAT/ellipsis_level_79_f_1.test/Makefile
tests/nemeth_MathCAT/extension_field_not_ratio_151_11.test/Makefile
tests/nemeth_MathCAT/full_binomial.test/Makefile
tests/nemeth_MathCAT/function_space_119_c_3.test/Makefile
tests/nemeth_MathCAT/german_base_77_4_3.test/Makefile
tests/nemeth_MathCAT/hyper_complex_frac_68_a_1.test/Makefile
tests/nemeth_MathCAT/identity_matrix_126.test/Makefile
tests/nemeth_MathCAT/integral_77_4_26.test/Makefile
tests/nemeth_MathCAT/left_sup_75_1.test/Makefile
tests/nemeth_MathCAT/left_sup_75_12.test/Makefile
tests/nemeth_MathCAT/left_sup_75_4.test/Makefile
tests/nemeth_MathCAT/left_sup_75_7.test/Makefile
tests/nemeth_MathCAT/left_sup_75_8.test/Makefile
tests/nemeth_MathCAT/lesson_11_24_1.test/Makefile
tests/nemeth_MathCAT/letter_26_b_19.test/Makefile
tests/nemeth_MathCAT/lim_86_a_3.test/Makefile
tests/nemeth_MathCAT/list_num_ind_11_a_1.test/Makefile
tests/nemeth_MathCAT/list_num_ind_11_a_2.test/Makefile
tests/nemeth_MathCAT/list_num_ind_11_a_7.test/Makefile
tests/nemeth_MathCAT/list_num_ind_11_c_1.test/Makefile
tests/nemeth_MathCAT/list_num_ind_11_d_1.test/Makefile
tests/nemeth_MathCAT/list_num_ind__11_a_3.test/Makefile
tests/nemeth_MathCAT/log_77_4_8.test/Makefile
tests/nemeth_MathCAT/lower_roman_numeral_18_b_4.test/Makefile
tests/nemeth_MathCAT/mathml_spec_example_86_a.test/Makefile
tests/nemeth_MathCAT/mathml_spec_example_alt_char_86_a.test/Makefile
tests/nemeth_MathCAT/menclose_111_a_4.test/Makefile
tests/nemeth_MathCAT/menclose_115_1.test/Makefile
tests/nemeth_MathCAT/menclose_86_a_1.test/Makefile
tests/nemeth_MathCAT/menclose_86_a_4.test/Makefile
tests/nemeth_MathCAT/menclose_86_b_1.test/Makefile
tests/nemeth_MathCAT/menclose_86_b_11.test/Makefile
tests/nemeth_MathCAT/menclose_bar_97_b_1.test/Makefile
tests/nemeth_MathCAT/menclose_bar_97_b_3.test/Makefile
tests/nemeth_MathCAT/menclose_lesson_12_5_5_5.test/Makefile
tests/nemeth_MathCAT/menclose_primed_86_b_6.test/Makefile
tests/nemeth_MathCAT/menclose_top_bottom_88_1.test/Makefile
tests/nemeth_MathCAT/mixed_frac_63_a_1.test/Makefile
tests/nemeth_MathCAT/mixed_frac_64_2.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_77_4_10.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_77_4_18.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_a_1.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_a_2.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_a_3.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_1.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_2.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_3.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_4.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_5.test/Makefile
tests/nemeth_MathCAT/mmultiscripts_82_b_6.test/Makefile
tests/nemeth_MathCAT/modifier_in_script_91_1.test/Makefile
tests/nemeth_MathCAT/ms.test/Makefile
tests/nemeth_MathCAT/ms_38_4_8.test/Makefile
tests/nemeth_MathCAT/msubsup_82_a_1.test/Makefile
tests/nemeth_MathCAT/msubsup_82_a_3.test/Makefile
tests/nemeth_MathCAT/multipurpose_177_2_1.test/Makefile
tests/nemeth_MathCAT/multipurpose_177_2_2.test/Makefile
tests/nemeth_MathCAT/multipurpose_177_3_1.test/Makefile
tests/nemeth_MathCAT/multipurpose_177_5_1.test/Makefile
tests/nemeth_MathCAT/multipurpose_177_7_1.test/Makefile
tests/nemeth_MathCAT/munder_lesson_12_5_5_5.test/Makefile
tests/nemeth_MathCAT/nested_root_105_2.test/Makefile
tests/nemeth_MathCAT/nested_sqrt_105_1.test/Makefile
tests/nemeth_MathCAT/nested_sqrt_105_3.test/Makefile
tests/nemeth_MathCAT/nested_sqrt_105_4.test/Makefile
tests/nemeth_MathCAT/nested_sub_sup_74_c_5.test/Makefile
tests/nemeth_MathCAT/nested_sup_74_b_1.test/Makefile
tests/nemeth_MathCAT/nested_sup_74_b_4.test/Makefile
tests/nemeth_MathCAT/nested_sup_mmultiscripts_74_b_1.test/Makefile
tests/nemeth_MathCAT/nested_sup_sup_space_79_d_9.test/Makefile
tests/nemeth_MathCAT/nested_super_79_a_2.test/Makefile
tests/nemeth_MathCAT/nested_super_79_a_3.test/Makefile
tests/nemeth_MathCAT/nested_super_space_79_d_3.test/Makefile
tests/nemeth_MathCAT/nested_super_space_79_d_7.test/Makefile
tests/nemeth_MathCAT/non_hyper_complex_frac_67_1.test/Makefile
tests/nemeth_MathCAT/non_list_10_4.test/Makefile
tests/nemeth_MathCAT/number_space_after.test/Makefile
tests/nemeth_MathCAT/number_space_before.test/Makefile
tests/nemeth_MathCAT/number_space_before_and_after.test/Makefile
tests/nemeth_MathCAT/numeric_sub_81_a_1.test/Makefile
tests/nemeth_MathCAT/order2_overbar_87_a_1.test/Makefile
tests/nemeth_MathCAT/overbar_86_a_4.test/Makefile
tests/nemeth_MathCAT/overbar_86_a_5.test/Makefile
tests/nemeth_MathCAT/overbar_86_b_1.test/Makefile
tests/nemeth_MathCAT/overbar_86_b_10.test/Makefile
tests/nemeth_MathCAT/overbar_86_b_11.test/Makefile
tests/nemeth_MathCAT/prescript_77_4_18.test/Makefile
tests/nemeth_MathCAT/prescript_77_4_6.test/Makefile
tests/nemeth_MathCAT/prescript_77_4_7.test/Makefile
tests/nemeth_MathCAT/prime_172_5.test/Makefile
tests/nemeth_MathCAT/prime_172_6.test/Makefile
tests/nemeth_MathCAT/prime_172_8.test/Makefile
tests/nemeth_MathCAT/prime_172_9.test/Makefile
tests/nemeth_MathCAT/prime_77_4_4.test/Makefile
tests/nemeth_MathCAT/prime_83_b_1.test/Makefile
tests/nemeth_MathCAT/prime_83_b_3.test/Makefile
tests/nemeth_MathCAT/prime_83_b_4.test/Makefile
tests/nemeth_MathCAT/prime_83_b_5.test/Makefile
tests/nemeth_MathCAT/prime_83_b_6.test/Makefile
tests/nemeth_MathCAT/prime_83_b_7.test/Makefile
tests/nemeth_MathCAT/prime_83_b_8.test/Makefile
tests/nemeth_MathCAT/prime_mathjax_83_b_2.test/Makefile
tests/nemeth_MathCAT/prime_mmultiscripts_83_b_2.test/Makefile
tests/nemeth_MathCAT/prime_mmultiscripts_83_b_4.test/Makefile
tests/nemeth_MathCAT/prime_wiris_83_b_2.test/Makefile
tests/nemeth_MathCAT/primed_86_b_6.test/Makefile
tests/nemeth_MathCAT/product_77_4_24.test/Makefile
tests/nemeth_MathCAT/punct_37_1_2.test/Makefile
tests/nemeth_MathCAT/punct_37_2_2.test/Makefile
tests/nemeth_MathCAT/punct_37_7_1.test/Makefile
tests/nemeth_MathCAT/punctuation_after_sup_79_b_2.test/Makefile
tests/nemeth_MathCAT/ratio_151_11.test/Makefile
tests/nemeth_MathCAT/root_104_iii_1.test/Makefile
tests/nemeth_MathCAT/root_104_iii_4.test/Makefile
tests/nemeth_MathCAT/set_vertical_bar_145_1.test/Makefile
tests/nemeth_MathCAT/shape_110_1.test/Makefile
tests/nemeth_MathCAT/simple_frac_62_a_3.test/Makefile
tests/nemeth_MathCAT/sqrt_103_a_2.test/Makefile
tests/nemeth_MathCAT/sqrt_103_a_4.test/Makefile
tests/nemeth_MathCAT/sqrt_103_b_2.test/Makefile
tests/nemeth_MathCAT/sub_ind_79_g_4.test/Makefile
tests/nemeth_MathCAT/sub_ind_80_b_3.test/Makefile
tests/nemeth_MathCAT/sub_ind_80_b_4.test/Makefile
tests/nemeth_MathCAT/sub_ind_mmultiscripts_80_b_3.test/Makefile
tests/nemeth_MathCAT/sub_sup_82_b_1.test/Makefile
tests/nemeth_MathCAT/sub_sup_82_b_2.test/Makefile
tests/nemeth_MathCAT/sum_77_4_23.test/Makefile
tests/nemeth_MathCAT/superscript_80_a_2.test/Makefile
tests/nemeth_MathCAT/table_entry_after_sup_79_c_4.test/Makefile
tests/nemeth_MathCAT/tensor_from_mathml_spec.test/Makefile
tests/nemeth_MathCAT/test_9_d_2.test/Makefile
tests/nemeth_MathCAT/test_9_d_3.test/Makefile
tests/nemeth_MathCAT/text_after_sup_79_c_3.test/Makefile
tests/nemeth_MathCAT/trilinear_not_ratio_151_11.test/Makefile
tests/nemeth_MathCAT/underbar_86_a_1.test/Makefile
tests/nemeth_MathCAT/vertical_bar_145_4.test/Makefile
tests/nemeth_MathCAT/whitespace_in_sup_79_e_1.test/Makefile
tests/nemeth_MathCAT/word_77_4_12.test/Makefile
tests/test_mathml_woluwe/Makefile
tests/test_mathml_woluwe/test_001.test/Makefile
tests/test_mathml_woluwe/test_002.test/Makefile
Expand Down
Loading

0 comments on commit 409059d

Please sign in to comment.