MCPcopy Create free account

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

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

Methodtest_array
(self)
tests/test_parser.py:99
Methodtest_array_access_in_expression
Array access works inside expressions.
tests/test_raycaster.py:560
Methodtest_array_access_in_expression
(self)
tests/test_parser.py:466
Methodtest_array_read
(self)
tests/test_parser.py:421
Methodtest_array_read_literal_index
(self)
tests/test_codegen.py:329
Methodtest_array_read_variable_index
(self)
tests/test_codegen.py:344
Methodtest_array_write
(self)
tests/test_parser.py:434
Methodtest_array_write_expr_index
(self)
tests/test_codegen.py:380
Methodtest_array_write_literal
(self)
tests/test_codegen.py:366
Methodtest_arrow_not_confused_with_minus_gt
-> should be a single ARROW token, not MINUS then GT.
tests/test_lexer.py:294
Functiontest_assembly_contains_getvariation
Glyph program uses GETVARIATION to read the axis value.
tests/test_variable_poc.py:181
Functiontest_assembly_contains_mppem
Glyph program reads ppem for proper scaling.
tests/test_variable_poc.py:205
Functiontest_assembly_contains_scfs
Glyph program uses SCFS to reposition points.
tests/test_variable_poc.py:194
Functiontest_assembly_roundtrip
Assembly -> bytecode -> assembly round-trips correctly.
tests/test_font_builder.py:209
Functiontest_assembly_sets_y_axis
Glyph program sets the Y-axis vector via SVTCA.
tests/test_variable_poc.py:216
Functiontest_assembly_targets_points_2_and_3
Glyph program references point indices 2 and 3 for SCFS.
tests/test_variable_poc.py:229
Methodtest_assignment_storage_index
(self)
tests/test_codegen.py:307
Methodtest_axis_ranges
Each axis ranges from 0 to 1000 with default 500.
tests/test_pipeline.py:223
Methodtest_axis_tags
Font axes have the expected tags: MOVX, MOVY, TURN, FIRE, ACTN.
tests/test_pipeline.py:214
Functiontest_bar_glyph_contour_count
Glyph has exactly num_bars contours.
tests/test_glyph_builder.py:25
Functiontest_bar_glyph_point_count
Glyph has exactly num_bars * 4 on-curve points.
tests/test_glyph_builder.py:45
Functiontest_bars_have_correct_y_coordinates
All bar points have y=0 (bottom) or y=glyph_height (top).
tests/test_glyph_builder.py:76
Functiontest_bars_non_overlapping_x
Adjacent bars must not overlap horizontally.
tests/test_glyph_builder.py:89
Functiontest_bars_within_glyph_width
All bar x-coordinates stay within [0, glyph_width].
tests/test_glyph_builder.py:105
Methodtest_blank_lines_ignored
(self)
tests/test_lexer.py:307
Methodtest_blank_lines_inside_block
(self)
tests/test_lexer.py:318
Methodtest_build_import
The build module can be imported.
tests/test_raycaster.py:829
Methodtest_build_is_deterministic
Two consecutive builds produce identical bytecode.
tests/test_raycaster.py:851
Methodtest_build_produces_file
Build script creates a .ttf file.
tests/test_raycaster.py:312
Methodtest_build_produces_valid_font
Building doom.doom produces a font that fonttools can load.
tests/test_raycaster.py:834
Methodtest_bytecode_can_be_recompiled
Disassembled fpgm can be re-assembled without errors.
tests/test_pipeline.py:354
Functiontest_bytecode_roundtrip
Assembly -> bytecode -> assembly round-trip preserves instructions.
tests/test_variable_poc.py:280
Methodtest_call_no_args
(self)
tests/test_codegen.py:529
Methodtest_call_no_args
(self)
tests/test_parser.py:403
Methodtest_call_stdlib_fixmul
(self)
tests/test_codegen.py:557
Methodtest_call_with_args
(self)
tests/test_codegen.py:541
Methodtest_cli_compiles_doom_file
CLI compiles a .doom file and produces a .ttf.
tests/test_pipeline.py:413
Methodtest_cli_compiles_game_test
CLI compiles the game/test_game.doom file successfully.
tests/test_pipeline.py:475
Methodtest_cli_custom_bars
CLI --bars flag controls bar count in the output font.
tests/test_pipeline.py:445
Methodtest_cli_default_output_name
CLI defaults output name to source stem + .ttf.
tests/test_pipeline.py:429
Methodtest_cli_invalid_source_reports_error
CLI prints error to stderr for invalid source and exits non-zero.
tests/test_pipeline.py:536
Methodtest_cli_missing_source_file
CLI exits with error for missing source file.
tests/test_pipeline.py:464
Methodtest_codegen_succeeds
Code generator does not throw errors.
tests/test_raycaster.py:215
Methodtest_comment_only_line
A comment-only line should produce no tokens (besides EOF).
tests/test_lexer.py:89
Methodtest_comparison
(self, op_str: str)
tests/test_parser.py:636
Methodtest_comparison_lower_than_arithmetic
a + 1 > b should parse as (a + 1) > b.
tests/test_parser.py:295
Methodtest_comparison_op
(self, op: str, tt_instr: str)
tests/test_codegen.py:666
Methodtest_compile_and_inject
Full pipeline: parse -> compile -> inject into font -> verify.
tests/test_codegen.py:1047
Methodtest_compile_with_while_loop_inject
Program with a while loop compiles and injects into a font.
tests/test_codegen.py:1142
Methodtest_compiles_to_ttf
A single variable declaration compiles to a valid .ttf file.
tests/test_pipeline.py:101
Methodtest_compiles_to_ttf
Program with functions compiles to a valid .ttf file.
tests/test_pipeline.py:138
Methodtest_compiles_to_ttf
Full game-like program compiles without errors.
tests/test_pipeline.py:174
Methodtest_compiles_to_ttf
Array + while loop program compiles to a valid .ttf.
tests/test_pipeline.py:376
Methodtest_compiles_to_ttf
If/else program compiles to a valid .ttf.
tests/test_pipeline.py:398
Methodtest_complete_function
(self)
tests/test_lexer.py:274
Methodtest_complex_arithmetic
(self)
tests/test_parser.py:453
Methodtest_const
(self)
tests/test_parser.py:77
Methodtest_const_hex
(self)
tests/test_parser.py:83
Methodtest_const_in_assignment
(self)
tests/test_codegen.py:252
Methodtest_const_negative
(self)
tests/test_parser.py:88
Methodtest_const_no_storage_allocated
(self)
tests/test_codegen.py:264
Methodtest_const_used_in_expr
(self)
tests/test_codegen.py:273
Functiontest_cos_0_is_scale
cos(0) == scale (256).
tests/test_math_tables.py:82
Functiontest_cos_180_is_neg_scale
cos(180 deg) == -scale (-256).
tests/test_math_tables.py:94
Functiontest_cos_270_is_zero
cos(270 deg) == 0.
tests/test_math_tables.py:100
Functiontest_cos_90_is_zero
cos(90 deg) == 0.
tests/test_math_tables.py:88
Functiontest_cos_is_shifted_sin
cos(x) == sin(x + 64) (quarter-circle phase shift).
tests/test_math_tables.py:182
Methodtest_cos_quarter_is_zero
cos(90 deg) = cos(entry 64) should be 0.
tests/test_raycaster.py:736
Functiontest_cos_table_has_256_entries
Default cos table has exactly 256 entries.
tests/test_math_tables.py:34
Functiontest_cos_values_bounded_by_scale
All cos values have magnitude <= scale.
tests/test_math_tables.py:139
Methodtest_cos_zero_is_scale
cos(0) should equal the scale factor.
tests/test_raycaster.py:722
Functiontest_creates_valid_ttf
Font file exists and is non-empty.
tests/test_variable_poc.py:33
Functiontest_creates_valid_ttf
Font file exists and is non-empty.
tests/test_font_builder.py:50
Functiontest_custom_axes
Custom axis definitions are applied correctly.
tests/test_font_builder.py:109
Methodtest_custom_axes_count
build_font respects num_axes parameter.
tests/test_pipeline.py:579
Methodtest_custom_bar_count
Glyph 'A' contour count matches the requested num_bars.
tests/test_pipeline.py:243
Functiontest_custom_dimensions
Custom glyph_width and glyph_height are respected.
tests/test_glyph_builder.py:116
Functiontest_custom_entry_count
Tables respect custom entry count.
tests/test_math_tables.py:40
Functiontest_custom_font_name
Custom font name is applied correctly.
tests/test_font_builder.py:289
Methodtest_custom_ids
(self)
tests/test_stdlib.py:684
Functiontest_custom_maxp_values
Custom maxp values are applied correctly.
tests/test_font_builder.py:256
Functiontest_custom_num_bars
Font built with custom num_bars has correct contour count.
tests/test_font_builder.py:172
Methodtest_decimal
(self)
tests/test_lexer.py:223
Methodtest_deeply_nested_if_else
(self)
tests/test_parser.py:654
Methodtest_default_ids
(self)
tests/test_stdlib.py:676
Methodtest_define_const
(self)
tests/test_codegen.py:167
Methodtest_div_one_third
1/3 is a repeating fraction; verify reasonable precision.
tests/test_stdlib.py:536
Methodtest_divide_by_zero_raises
(self)
tests/test_stdlib.py:548
Methodtest_division_compensation
DSL / operator generates DIV with 4096 compensation.
tests/test_raycaster.py:679
Methodtest_division_inverse_of_multiplication
fixdiv(fixmul(a, b), b) should approximately recover a.
tests/test_stdlib.py:555
Methodtest_division_matches_ideal
Simulated result should be close to the ideal computation.
tests/test_stdlib.py:567
Methodtest_division_plain_int
(self)
tests/test_codegen.py:758
Methodtest_duplicate_local_names_across_functions
Two functions can declare locals with the same name.
tests/test_raycaster.py:505
Methodtest_empty_assembly
build_font works with empty assembly lists (uses fallbacks).
tests/test_pipeline.py:560
Functiontest_empty_assembly_omits_tables
When assembly lists are empty, the corresponding tables are absent.
tests/test_font_builder.py:227
Methodtest_empty_function_body
(self)
tests/test_parser.py:602
Methodtest_error_has_line_info
(self)
tests/test_lexer.py:250
Methodtest_error_has_line_number
(self)
tests/test_parser.py:585
Methodtest_essential_tables_present
Compiled font contains all essential TrueType tables.
tests/test_pipeline.py:294
Methodtest_expression_with_call_and_array
(self)
tests/test_parser.py:686
← previousnext →201–300 of 584, ranked by callers