package test_core_bytes import "core:bytes" import "core:slice" import "core:testing" @private SIMD_SCAN_WIDTH :: 8 * size_of(uintptr) @test test_index_byte_sanity :: proc(t: ^testing.T) { // We must be able to find the byte at the correct index. data := make([]u8, 2 * SIMD_SCAN_WIDTH) defer delete(data) slice.fill(data, '-') INDEX_MAX :: SIMD_SCAN_WIDTH - 1 for offset in 0..