Skip to content

Commit 0061d89

Browse files
committed
[stdlib] Regenerate Slice_Of_*_* validation-tests
1 parent f2c952c commit 0061d89

File tree

96 files changed

+576
-576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+576
-576
lines changed

validation-test/stdlib/Slice/Slice_Of_DefaultedBidirectionalCollection_FullWidth.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedBidirectionalCollection_WithPrefix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedBidirectionalCollection_WithPrefixAndSuffix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedBidirectionalCollection_WithSuffix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedCollection_FullWidth.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedCollection_WithPrefix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedCollection_WithPrefixAndSuffix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedCollection_WithSuffix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedMutableBidirectionalCollection_FullWidth.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

validation-test/stdlib/Slice/Slice_Of_DefaultedMutableBidirectionalCollection_WithPrefix.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func makeCollection(elements: [OpaqueValue<Int>])
2727
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
2828
let startIndex = base.index(
2929
base.startIndex,
30-
offsetBy: numericCast(prefix.count))
30+
offsetBy: prefix.count)
3131
let endIndex = base.index(
3232
base.startIndex,
33-
offsetBy: numericCast(prefix.count + elements.count))
33+
offsetBy: prefix.count + elements.count)
3434
return Slice(base: base, bounds: startIndex..<endIndex)
3535
}
3636

@@ -42,10 +42,10 @@ func makeCollectionOfEquatable(elements: [MinimalEquatableValue])
4242
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
4343
let startIndex = base.index(
4444
base.startIndex,
45-
offsetBy: numericCast(prefix.count))
45+
offsetBy: prefix.count)
4646
let endIndex = base.index(
4747
base.startIndex,
48-
offsetBy: numericCast(prefix.count + elements.count))
48+
offsetBy: prefix.count + elements.count)
4949
return Slice(base: base, bounds: startIndex..<endIndex)
5050
}
5151

@@ -57,10 +57,10 @@ func makeCollectionOfComparable(elements: [MinimalComparableValue])
5757
let base = DefaultedMutableBidirectionalCollection(elements: baseElements)
5858
let startIndex = base.index(
5959
base.startIndex,
60-
offsetBy: numericCast(prefix.count))
60+
offsetBy: prefix.count)
6161
let endIndex = base.index(
6262
base.startIndex,
63-
offsetBy: numericCast(prefix.count + elements.count))
63+
offsetBy: prefix.count + elements.count)
6464
return Slice(base: base, bounds: startIndex..<endIndex)
6565
}
6666

0 commit comments

Comments
 (0)