Closed Indibulous closed 3 months ago
Split the 12 existing facts in BasicBufferTestSuite into 41 new ones:
BasicBufferTestSuite
buffer_exists_test
buffer_get_type_test
buffer_get_alignment_test
buffer_get_size_test
buffer_get_address_test
buffer_tell_test
buffer_seek_test #1
buffer_seek_test #2
buffer_seek_test #3
buffer_resize_test
buffer_delete_test
buffer_fill_test #1
buffer_fill_test #2
buffer_crc32_test
buffer_md5_test
buffer_sha1_test
buffer_base64_encode_test
buffer_base64_decode_test
buffer_base64_decode_ext_test
buffer_compress_test
buffer_decompress_test
buffer_poke_test
buffer_write_test #1
buffer_write_test #2
buffer_read_test #1
buffer_read_test #2
buffer_sizeof_test
buffer_get_surface_test
buffer_set_surface_test
buffer_create_from_vertex_buffer_test
buffer_create_from_vertex_buffer_ext_test
buffer_copy_from_vertex_buffer_test
buffer_save_test
buffer_save_ext_test
buffer_load_test #1
buffer_load_test #2
buffer_load_ext_test
buffer_load_partial_test
buffer_save_async_test
buffer_save_async_group_test
buffer_load_async_test
And put some repeated code into functions, added comments, and modified assert descriptions.
Also split the base64_test fact into 14 seperate facts:
base64_test
base64_encode_test #1
base64_encode_test #2
base64_encode_test #3
base64_encode_test #4
base64_encode_test #5
base64_encode_test #6
base64_encode_test #7
base64_encode_test #8
base64_decode_test #1
base64_decode_test #2
base64_decode_test #3
base64_decode_test #4
base64_decode_test #5
base64_decode_test #6
And moved them into a newly created BasicBase64TestSuite.
BasicBase64TestSuite
Split the 12 existing facts in
BasicBufferTestSuite
into 41 new ones:buffer_exists_test
buffer_get_type_test
buffer_get_alignment_test
buffer_get_size_test
buffer_get_address_test
buffer_tell_test
buffer_seek_test #1
buffer_seek_test #2
buffer_seek_test #3
buffer_resize_test
buffer_delete_test
buffer_fill_test #1
buffer_fill_test #2
buffer_crc32_test
buffer_md5_test
buffer_sha1_test
buffer_base64_encode_test
buffer_base64_decode_test
buffer_base64_decode_ext_test
buffer_compress_test
buffer_decompress_test
buffer_poke_test
buffer_write_test #1
buffer_write_test #2
buffer_read_test #1
buffer_read_test #2
buffer_sizeof_test
buffer_get_surface_test
buffer_set_surface_test
buffer_create_from_vertex_buffer_test
buffer_create_from_vertex_buffer_ext_test
buffer_copy_from_vertex_buffer_test
buffer_save_test
buffer_save_ext_test
buffer_load_test #1
buffer_load_test #2
buffer_load_ext_test
buffer_load_partial_test
buffer_save_async_test
buffer_save_async_group_test
buffer_load_async_test
And put some repeated code into functions, added comments, and modified assert descriptions.
Also split the
base64_test
fact into 14 seperate facts:base64_encode_test #1
base64_encode_test #2
base64_encode_test #3
base64_encode_test #4
base64_encode_test #5
base64_encode_test #6
base64_encode_test #7
base64_encode_test #8
base64_decode_test #1
base64_decode_test #2
base64_decode_test #3
base64_decode_test #4
base64_decode_test #5
base64_decode_test #6
And moved them into a newly created
BasicBase64TestSuite
.