package solutions.tretter.mindmachine

import androidx.compose.ui.graphics.toArgb
import solutions.tretter.mindmachine.session.TimelineCurveColors
import org.junit.Assert.assertEquals
import org.junit.Test

class TimelineGraphConfigTest {
    @Test
    fun curve_colors_match_requested_mapping_exactly() {
        assertEquals(0xFF00FF00.toInt(), TimelineCurveColors.Flash.toArgb())
        assertEquals(0xFFFF0000.toInt(), TimelineCurveColors.Blank.toArgb())
        assertEquals(0xFF0000FF.toInt(), TimelineCurveColors.Carrier.toArgb())
        assertEquals(0xFFFFFF00.toInt(), TimelineCurveColors.Binaural.toArgb())
    }
}
