diff options
-rw-r--r-- | runtime.c | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -720,11 +720,11 @@ i64 network_send(u16 slot, Network_Address address, i64 len, u8 *data, u16 *loca // Data formats b8 bmp_read_from_memory(i64 *width, i64 *height, i64 colors_len, vec4_f32 *colors, i64 src_len, u8 *src); -b8 bmp_write_to_memory(i64 *dst_len, u8 *dst, i64 width, i64 height, i64 stride, vec4_f32 *colors); +b8 bmp_write_to_memory (i64 *dst_len, u8 *dst, i64 width, i64 height, i64 stride, vec4_f32 *colors); b8 ppm_read_from_memory(i64 *width, i64 *height, i64 colors_len, vec4_f32 *colors, i64 src_len, u8 *src); -b8 ppm_write_to_memory(i64 *dst_len, u8 *dst, i64 width, i64 height, i64 stride, vec4_f32 *colors); +b8 ppm_write_to_memory (i64 *dst_len, u8 *dst, i64 width, i64 height, i64 stride, vec4_f32 *colors); b8 wav_read_from_memory(i64 *num_channels, i64 *sample_rate, i64 *num_samples, i64 frames_len, f32 *frames, i64 src_len, u8 *src); -b8 wav_write_to_memory(i64 *dst_len, u8 *dst, i64 num_channels, i64 sample_rate, i64 num_samples, f32 *frames); +b8 wav_write_to_memory (i64 *dst_len, u8 *dst, i64 num_channels, i64 sample_rate, i64 num_samples, f32 *frames); // Dynamic libraries void dynamic_library_open (u16 slot, c8 *name); @@ -5426,6 +5426,18 @@ TEST("average frame duration") { REQUIRE_EQ(average_frame_duration_(100), 100); } +TEST("BMP image") { + // TODO +} + +TEST("PPM image") { + // TODO +} + +TEST("WAV audio") { + // TODO +} + #undef TEST_FILE #endif // ENABLE_TESTING |