diff --git a/Sources/IceCreamSandwich/Protocols/IceCreamSandwichProtocol.swift b/Sources/IceCreamSandwich/Protocols/IceCreamSandwichProtocol.swift index cc58ff4..a55c1e8 100644 --- a/Sources/IceCreamSandwich/Protocols/IceCreamSandwichProtocol.swift +++ b/Sources/IceCreamSandwich/Protocols/IceCreamSandwichProtocol.swift @@ -5,26 +5,5 @@ /// A protocol that helps determine if an object resembles the delightful structure of an Ice Cream Sandwich. protocol IceCreamSandwichProtocol { - /// Determines whether a given entity follows the pattern of an Ice Cream Sandwich. - /// - /// An Ice Cream Sandwich pattern consists of three distinct segments, where both the - /// outer segments are identical and composed of repeated elements, and the middle - /// segment is different from the outer ones. - /// - /// Examples of Ice Cream Sandwich entities: - /// - /// ```swift - /// "AABBA" - /// [1, 2, 2, 1] - /// true, true, false, true, true - /// ``` - /// - /// Examples not considered Ice Cream Sandwich: - /// - /// ```swift - /// "ABBA" // Outer segments must be identical - /// [1, 2, 3, 1] // Must have three segments - /// false, true, false // Fails to meet the pattern requirements - /// ``` var isIceCreamSandwich: Bool { get } }