package com.tt.honeyDue.ui.theme

import androidx.compose.ui.unit.dp
import kotlin.test.Test
import kotlin.test.assertEquals

/**
 * P1 Stream A — Spacing parity tests.
 *
 * iOS defines AppSpacing as xs=4, sm=8, md=12, lg=16, xl=24 in
 * `iosApp/iosApp/Design/DesignSystem.swift`. Android must match exactly.
 */
class SpacingTest {

    @Test
    fun spacingMatchesIosScale() {
        assertEquals(4.dp, AppSpacing.xs, "xs=4dp")
        assertEquals(8.dp, AppSpacing.sm, "sm=8dp")
        assertEquals(12.dp, AppSpacing.md, "md=12dp")
        assertEquals(16.dp, AppSpacing.lg, "lg=16dp")
        assertEquals(24.dp, AppSpacing.xl, "xl=24dp")
    }
}
