         let cdDefault = "cd".styled(with: .tracking(.point(10)))
         let styled = NSAttributedString.composed(of: [abDefault, cdDefault])
 
-        let rangesToValuesLine = #line; let rangesToValues: [(NSRange, Double?)] = [
-            (NSRange(location: 0, length: 2), 5),
-            (NSRange(location: 2, length: 1), 10),
-            (NSRange(location: 3, length: 1), nil),
+        let rangesToValuesLine = #line; let rangesToValues: [(NSRange, KernCheckingType)] = [
+            (NSRange(location: 0, length: 2), .kern(5)),
+            (NSRange(location: 2, length: 1), .kern(10)),
+            (NSRange(location: 3, length: 1), .kernRemoved(10)),
             ]
 
         checkKerningValues(rangesToValues, startingOnLine: rangesToValuesLine, in: styled)

        let cdExplicitStrip = "cd".styled(with: .tracking(.point(10)), stripTrailingKerning: true)
        let customStyled = NSAttributedString.composed(of: [abNoStrip, cdExplicitStrip])

        let customRangesToValuesLine = #line; let customRangesToValues: [(NSRange, Double?)] = [
            (NSRange(location: 0, length: 2), 5),
            (NSRange(location: 2, length: 1), 10),
            (NSRange(location: 3, length: 1), nil),
            ]

        checkKerningValues(customRangesToValues, startingOnLine: customRangesToValuesLine, in: customStyled)

        }
    }

    func testNoKern() throws {
        let styled = "abcd".styled(with: .color(.red))

        let rangesToValuesLine = #line; let rangesToValues: [(NSRange, KernCheckingType)] = [
            (NSRange(location: 0, length: 4), .none),
            ]

        checkKerningValues(rangesToValues, startingOnLine: rangesToValuesLine, in: styled)
    }

    func testEffectOfAlignmentOnKerningForOneOffStrings() throws {
        let styled = "abcd".styled(with: .tracking(.point(5)))

        let rangesToValuesLine = #line; let rangesToValues: [(NSRange, KernCheckingType)] = [
            (NSRange(location: 0, length: 3), .kern(5)),
            (NSRange(location: 3, length: 1), .kernRemoved(5)),
            ]

        checkKerningValues(rangesToValues, startingOnLine: rangesToValuesLine, in: styled)
