allow a single spine tracker to control the whole spine without warning

This commit is contained in:
loucass003 committed 2026-10-05 20:44:41 +02:00
1 parent c30efd2317
commit 753fdb527e
3 files changed
+9 -13

No files matched your search

@@ -74,13 +74,10 @@ class BodyPartPrerequisitesTest {
}
@Test
fun `the top of the spine stands on its own and the rest of it looks upwards`() {
assertEquals(emptyList(), bodyPartPrerequisites(BodyPart.UPPER_CHEST))
assertEquals(listOf(listOf(BodyPart.UPPER_CHEST)), bodyPartPrerequisites(BodyPart.LOWER_CHEST))
assertEquals(
listOf(listOf(BodyPart.UPPER_CHEST, BodyPart.LOWER_CHEST, BodyPart.UPPER_WAIST, BodyPart.LOWER_WAIST)),
bodyPartPrerequisites(BodyPart.HIP),
)
fun `a spine bone stands on its own`() {
for (bodyPart in spineParts) {
assertEquals(emptyList(), bodyPartPrerequisites(bodyPart), "$bodyPart should stand alone")
}
}
@Test