MCPcopy Create free account

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

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

Methodtest_push_negative
(self)
tests/test_codegen.py:902
Methodtest_push_out_of_range_raises
(self)
tests/test_codegen.py:917
Methodtest_push_small_value
(self)
tests/test_codegen.py:882
Methodtest_push_values_in_range
All PUSHW values fit in signed 16-bit range.
tests/test_stdlib.py:245
Methodtest_push_zero
(self)
tests/test_codegen.py:887
Methodtest_raycast_returns_int
raycast function should be declared with a return type.
tests/test_raycaster.py:196
Methodtest_read_modify_write
(self)
tests/test_codegen.py:294
Methodtest_reloads_cleanly
Compiled font can be saved and reloaded without corruption.
tests/test_pipeline.py:182
Methodtest_return_expr
(self)
tests/test_codegen.py:593
Methodtest_return_expression
(self)
tests/test_parser.py:246
Methodtest_return_literal
(self)
tests/test_codegen.py:578
Functiontest_return_value_matches_path
create_variable_poc_font returns the output path it was given.
tests/test_variable_poc.py:39
Functiontest_return_value_matches_path
build_doom_font returns the output path it was given.
tests/test_font_builder.py:56
Methodtest_return_void
(self)
tests/test_codegen.py:602
Methodtest_return_void
(self)
tests/test_parser.py:236
Methodtest_return_with_value
(self)
tests/test_parser.py:225
Methodtest_returning_func_leaves_one
A returning function should leave exactly one value on stack.
tests/test_codegen.py:1026
Methodtest_roundtrip
(self)
tests/test_stdlib.py:202
Methodtest_roundtrip_preserves_bytecode
fpgm bytecode is identical after round-trip.
tests/test_raycaster.py:479
Methodtest_roundtrip_save_load
Font survives a save-load round-trip.
tests/test_raycaster.py:460
Functiontest_scale_1
Scale=1 produces sin(90deg) == 1.
tests/test_math_tables.py:161
Functiontest_scale_32767
Scale=32767 produces sin(90deg) == 32767.
tests/test_math_tables.py:154
Methodtest_set_point_y_intrinsic
set_point_y intrinsic generates SCFS assembly.
tests/test_raycaster.py:622
Methodtest_set_point_y_literals
(self)
tests/test_codegen.py:847
Methodtest_set_point_y_order
Point index should be pushed before coordinate.
tests/test_codegen.py:859
Methodtest_set_point_y_wrong_arg_count
(self)
tests/test_codegen.py:1289
Methodtest_simple_call
(self)
tests/test_parser.py:375
Methodtest_simple_if
(self)
tests/test_parser.py:152
Functiontest_sin_0_is_zero
sin(0) == 0.
tests/test_math_tables.py:58
Functiontest_sin_180_is_zero
sin(180 deg) == 0.
tests/test_math_tables.py:70
Functiontest_sin_270_is_neg_scale
sin(270 deg) == -scale (-256).
tests/test_math_tables.py:76
Functiontest_sin_90_is_scale
sin(90 deg) == scale (256).
tests/test_math_tables.py:64
Methodtest_sin_cos_table_sizes
Tables have the expected number of entries.
tests/test_raycaster.py:707
Methodtest_sin_quarter_is_scale
sin(90 deg) = sin(entry 64) should be the scale factor.
tests/test_raycaster.py:729
Functiontest_sin_symmetry
sin(x) == -sin(x + 128) for all x (half-circle symmetry).
tests/test_math_tables.py:172
Functiontest_sin_table_has_256_entries
Default sin table has exactly 256 entries.
tests/test_math_tables.py:28
Functiontest_sin_values_bounded_by_scale
All sin values have magnitude <= scale.
tests/test_math_tables.py:129
Methodtest_sin_zero_is_zero
sin(0) should be 0.
tests/test_raycaster.py:715
Methodtest_small_values_fixmul
Very small fixed-point values (sub-unit precision). 0.001 cannot be exactly represented in 16.16 (65536 * 0.001 = 65.536, truncated t
tests/test_stdlib.py:623
Methodtest_source_file_exists
doom.doom source file must exist.
tests/test_raycaster.py:117
Methodtest_stdlib_functions_registered
Standard library functions are registered.
tests/test_raycaster.py:267
Methodtest_storage_arrays_allocated
Storage arrays are allocated with correct sizes.
tests/test_raycaster.py:243
Methodtest_subtraction
(self)
tests/test_codegen.py:737
Methodtest_syntax_error_raises
Invalid DSL source raises an appropriate error.
tests/test_pipeline.py:502
Methodtest_total_funcs_reasonable
Total function count stays within practical limits.
tests/test_raycaster.py:297
Methodtest_total_storage_reasonable
Total storage allocation stays within practical limits.
tests/test_raycaster.py:290
Methodtest_trunc_div_both_negative
(self)
tests/test_stdlib.py:325
Methodtest_trunc_div_negative_denominator
(self)
tests/test_stdlib.py:322
Methodtest_trunc_div_negative_numerator
(self)
tests/test_stdlib.py:318
Methodtest_trunc_div_positive
(self)
tests/test_stdlib.py:315
Methodtest_tt_div_basic
(self)
tests/test_stdlib.py:307
Methodtest_tt_div_zero_raises
(self)
tests/test_stdlib.py:311
Methodtest_tt_mul_basic
(self)
tests/test_stdlib.py:299
Methodtest_tt_mul_negative
(self)
tests/test_stdlib.py:303
Methodtest_unary_negation
(self)
tests/test_parser.py:326
Methodtest_undefined_array_read
(self)
tests/test_codegen.py:1251
Methodtest_undefined_function_call
(self)
tests/test_codegen.py:1236
Methodtest_undefined_function_raises
Call to undefined function raises an error.
tests/test_pipeline.py:518
Methodtest_undefined_variable_in_assignment
(self)
tests/test_codegen.py:1221
Methodtest_undefined_variable_raises
Reference to undefined variable raises an error.
tests/test_pipeline.py:508
Methodtest_unexpected_token
(self)
tests/test_parser.py:580
Methodtest_user_functions_have_ids
All user functions are assigned FDEF IDs.
tests/test_raycaster.py:259
Methodtest_var_decl_no_init
(self)
tests/test_lexer.py:46
Methodtest_var_decl_with_init
(self)
tests/test_lexer.py:31
Methodtest_var_init_large_value
(self)
tests/test_codegen.py:223
Methodtest_var_init_small_value
(self)
tests/test_codegen.py:215
Methodtest_var_line_number
(self)
tests/test_parser.py:66
Methodtest_var_no_init
(self)
tests/test_codegen.py:229
Methodtest_var_with_expression_init
(self)
tests/test_parser.py:60
Methodtest_var_with_init
(self)
tests/test_parser.py:47
Methodtest_var_without_init
(self)
tests/test_parser.py:54
Methodtest_void_func_stack_neutral
A void function should consume all pushed values.
tests/test_codegen.py:1014
Methodtest_wall_count_matches_prep
Number of wall cells matches non-zero map entries stored in prep.
tests/test_raycaster.py:812
Methodtest_while
(self)
tests/test_parser.py:205
Methodtest_while_basic
(self)
tests/test_codegen.py:440
Methodtest_while_generates_recursive_call
(self)
tests/test_codegen.py:459
Methodtest_while_loops_allocated
While loop helper functions are allocated.
tests/test_raycaster.py:273
Methodtest_with_real_assembly
build_font injects actual assembly and it round-trips.
tests/test_pipeline.py:598
Methodtest_zero
(self)
tests/test_stdlib.py:199
Methodtest_zero
(self)
tests/test_lexer.py:236
Methodtest_zero_divided_by_anything
(self)
tests/test_stdlib.py:552
Methodtotal_funcs
Total number of function IDs allocated so far.
compiler/allocator.py:178
Methodtotal_storage
Total number of storage slots allocated so far.
compiler/allocator.py:173
Functionvar_poc_font_path
Generate the variable POC font once per test module.
tests/test_variable_poc.py:21
← previous501–584 of 584, ranked by callers