diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-04-26 15:30:13 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-04-26 15:30:13 +0200 |
commit | 7aae9cbf21872804b29c72e753850aca387ffe7c (patch) | |
tree | d12b52c682fd4e17f13d3172b1ddae2de18749cd | |
parent | c1864d9409c5e7f8df6c92f2b1a16c10cb44ae3c (diff) | |
download | reduced_system_layer-perf.zip |
Testsperf
-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 |