MCPcopy Create free account

hub / github.com/4RH1T3CT0R7/ttf-doom / functions

Functions584 in github.com/4RH1T3CT0R7/ttf-doom

Methodtest_fdef_structure
Each function should be: PUSH id, FDEF, <body>, ENDF.
tests/test_stdlib.py:691
Methodtest_file_size_reasonable
The font file is a reasonable size (not trivially empty).
tests/test_raycaster.py:316
Methodtest_fixabs_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:233
Methodtest_fixabs_metadata
(self)
tests/test_stdlib.py:280
Methodtest_fixdiv_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:229
Methodtest_fixdiv_large_dividend
Large dividend should still work within 32-bit range.
tests/test_stdlib.py:650
Methodtest_fixdiv_metadata
(self)
tests/test_stdlib.py:275
Methodtest_fixmul_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:225
Methodtest_fixmul_metadata
(self)
tests/test_stdlib.py:270
Methodtest_fixmul_result_smaller_than_inputs
Multiplying fractions should give a smaller result.
tests/test_stdlib.py:658
Methodtest_fixneg_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:237
Methodtest_fixneg_metadata
(self)
tests/test_stdlib.py:285
Methodtest_font_can_be_reloaded
Font should load without errors (validates internal consistency).
tests/test_stdlib.py:839
Functiontest_font_family_name
Font family name is 'DoomVarPOC'.
tests/test_variable_poc.py:264
Functiontest_font_family_name
Font family name is 'DoomFont'.
tests/test_font_builder.py:280
Methodtest_font_file_created
Font file should exist and be non-empty.
tests/test_stdlib.py:790
Methodtest_font_has_fpgm
Font should contain fpgm table.
tests/test_stdlib.py:795
Methodtest_font_loads
Font can be loaded by fonttools.
tests/test_raycaster.py:330
Functiontest_font_reloadable
Font can be reloaded by TTFont without errors.
tests/test_font_builder.py:68
Methodtest_fpgm_bytecode_nonempty
fpgm bytecode should be non-empty after assembly.
tests/test_stdlib.py:802
Methodtest_fpgm_contains_expected_instructions
fpgm assembly contains FDEF/ENDF and known instructions.
tests/test_pipeline.py:343
Methodtest_fpgm_contains_fdef
The fpgm table contains FDEF/ENDF blocks for user functions.
tests/test_pipeline.py:145
Methodtest_fpgm_disassembles
fpgm program can be disassembled without errors.
tests/test_pipeline.py:312
Methodtest_fpgm_fdef_count
fpgm has the expected number of FDEF blocks.
tests/test_raycaster.py:399
Methodtest_fpgm_has_bytecode
fpgm table contains bytecode.
tests/test_raycaster.py:393
Methodtest_fpgm_has_correct_fdef_count
The fpgm should contain one FDEF per stdlib function.
tests/test_stdlib.py:824
Methodtest_fpgm_has_fdef_endf_pairs
Every FDEF has a matching ENDF.
tests/test_raycaster.py:227
Methodtest_fpgm_has_while_loop_fdef
While loops compile to recursive FDEFs in fpgm.
tests/test_pipeline.py:383
Methodtest_fpgm_nonempty
fpgm assembly contains function definitions.
tests/test_raycaster.py:222
Methodtest_fpgm_roundtrip_assembly
Assembly should survive a save/load round-trip.
tests/test_stdlib.py:810
Methodtest_fpgm_roundtrips
fpgm bytecode round-trips through assembly.
tests/test_raycaster.py:405
Methodtest_full_program
(self)
tests/test_parser.py:486
Methodtest_func_header
(self)
tests/test_lexer.py:62
Methodtest_func_no_params
(self)
tests/test_codegen.py:484
Methodtest_func_no_return_type
(self)
tests/test_parser.py:124
Methodtest_func_params_reverse_order
Last param should be popped first (it's on top of stack).
tests/test_codegen.py:508
Methodtest_func_with_assignment_body
(self)
tests/test_parser.py:134
Methodtest_func_with_params_storage
(self)
tests/test_codegen.py:494
Methodtest_func_with_return
(self)
tests/test_parser.py:111
Functiontest_fvar_axis_range
MOVE axis has min=0, default=500, max=1000.
tests/test_variable_poc.py:69
Functiontest_fvar_axis_ranges
Each axis has the correct min/default/max values.
tests/test_font_builder.py:97
Functiontest_fvar_axis_tags
fvar axis tags match DEFAULT_AXES.
tests/test_font_builder.py:89
Methodtest_fvar_axis_tags
fvar axes have the correct tags.
tests/test_raycaster.py:356
Methodtest_fvar_has_five_axes
fvar defines exactly 5 variation axes.
tests/test_raycaster.py:351
Functiontest_fvar_has_move_axis
fvar defines exactly one axis with tag 'MOVE'.
tests/test_variable_poc.py:59
Methodtest_game_tick_is_entry_point
game_tick must exist so the glyph program can call it.
tests/test_raycaster.py:186
Methodtest_get_axis_0
(self)
tests/test_codegen.py:800
Methodtest_get_axis_intrinsic
get_axis intrinsic generates GETVARIATION assembly.
tests/test_raycaster.py:640
Methodtest_get_axis_last
(self)
tests/test_codegen.py:812
Methodtest_get_axis_single
(self)
tests/test_codegen.py:825
Methodtest_get_axis_wrong_arg_count
(self)
tests/test_codegen.py:1270
Functiontest_getvariation_opcode_present
Bytecode contains opcode 0x91 (GETVARIATION).
tests/test_variable_poc.py:247
Methodtest_glyph_a_exists
The display glyph 'A' exists in the font.
tests/test_raycaster.py:362
Functiontest_glyph_a_has_256_points
Glyph 'A' has 256 on-curve points (64 bars * 4 points).
tests/test_font_builder.py:163
Functiontest_glyph_a_has_64_contours
Glyph 'A' has 64 contours (one per bar).
tests/test_font_builder.py:154
Methodtest_glyph_calls_game_tick
(self)
tests/test_codegen.py:931
Methodtest_glyph_calls_game_tick
Glyph program calls the game_tick function.
tests/test_raycaster.py:235
Methodtest_glyph_calls_game_tick
The glyph program calls game_tick via CALL[].
tests/test_pipeline.py:157
Functiontest_glyph_coordinates
Glyph 'A' outline matches the expected rectangle vertices.
tests/test_variable_poc.py:128
Methodtest_glyph_empty_without_game_tick
(self)
tests/test_codegen.py:940
Methodtest_glyph_has_128_points
Glyph 'A' has 32 * 4 = 128 on-curve points.
tests/test_raycaster.py:371
Methodtest_glyph_has_32_contours
Glyph 'A' has 32 bar contours (one per display column).
tests/test_raycaster.py:366
Functiontest_glyph_has_4_points
Glyph 'A' is a single-contour rectangle with exactly 4 points.
tests/test_variable_poc.py:117
Functiontest_glyph_has_instructions
Glyph 'A' carries a non-empty hinting program.
tests/test_variable_poc.py:170
Functiontest_glyph_has_instructions
Glyph 'A' has a non-empty hinting program.
tests/test_font_builder.py:200
Methodtest_glyph_has_program
Glyph 'A' has a hinting program attached.
tests/test_raycaster.py:377
Methodtest_glyph_program_disassembles
Glyph hinting program can be disassembled without errors.
tests/test_pipeline.py:332
Methodtest_gvar_delta_count
gvar entries have correct delta count (num_bars*4 + 4 phantom).
tests/test_pipeline.py:266
Functiontest_gvar_has_entries_for_both_glyphs
gvar has variation entries for both .notdef and A.
tests/test_font_builder.py:141
Functiontest_gvar_has_variation_for_glyph_a
gvar contains at least one variation entry for glyph 'A'.
tests/test_variable_poc.py:93
Functiontest_gvar_variation_references_move_axis
The gvar variation for 'A' references the MOVE axis.
tests/test_variable_poc.py:103
Methodtest_half
(self)
tests/test_stdlib.py:193
Methodtest_has_64_contours
Glyph 'A' has 64 contours (one per bar).
tests/test_pipeline.py:234
Methodtest_has_arrays
Program declares map and trig table arrays.
tests/test_raycaster.py:158
Methodtest_has_constants
Program declares the expected constants.
tests/test_raycaster.py:135
Methodtest_has_five_axes
Font fvar table contains exactly 5 custom axes.
tests/test_pipeline.py:204
Functiontest_has_fpgm_and_prep
Font contains fpgm and prep hinting tables.
tests/test_variable_poc.py:144
Functiontest_has_fpgm_and_prep
Font contains fpgm and prep hinting tables.
tests/test_font_builder.py:193
Methodtest_has_functions
Program defines the expected functions.
tests/test_raycaster.py:173
Functiontest_has_fvar_table
Font contains an fvar (font variations) table.
tests/test_variable_poc.py:51
Functiontest_has_fvar_with_5_axes
Font contains fvar with the 5 default axes.
tests/test_font_builder.py:81
Functiontest_has_gvar_table
Font contains a gvar (glyph variations) table.
tests/test_variable_poc.py:85
Functiontest_has_gvar_table
Font contains a gvar table.
tests/test_font_builder.py:135
Methodtest_has_hinting_tables
Font has fpgm and prep for hinting programs.
tests/test_raycaster.py:346
Methodtest_has_required_tables
Font has all required TrueType tables.
tests/test_raycaster.py:334
Methodtest_has_variables
Program declares player state variables.
tests/test_raycaster.py:147
Methodtest_has_variation_tables
Font has fvar and gvar for variable font support.
tests/test_raycaster.py:341
Methodtest_hex_lower
(self)
tests/test_lexer.py:228
Methodtest_hex_upper
(self)
tests/test_lexer.py:232
Methodtest_if_else
(self)
tests/test_parser.py:166
Methodtest_if_else_chains
If/else chains compile correctly.
tests/test_raycaster.py:599
Methodtest_if_with_else
(self)
tests/test_codegen.py:416
Methodtest_if_without_else
(self)
tests/test_codegen.py:401
Methodtest_inconsistent_indent_raises
(self)
tests/test_lexer.py:167
Methodtest_indent_dedent
(self)
tests/test_lexer.py:123
Methodtest_inline_comment
Tokens before a comment should be emitted; comment text ignored.
tests/test_lexer.py:95
Methodtest_interior_has_open_space
The map interior has some open cells for gameplay.
tests/test_raycaster.py:805
Methodtest_invalid_character
(self)
tests/test_lexer.py:246
Methodtest_invalid_source_no_crash
Invalid source produces an error, does not crash Python.
tests/test_pipeline.py:528
Methodtest_keyword_prefix_is_identifier
An identifier that starts with a keyword should remain IDENTIFIER.
tests/test_lexer.py:347
← previousnext →301–400 of 584, ranked by callers