mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
20 lines
512 B
Swift
20 lines
512 B
Swift
// RUN: %target-run-simple-swiftgyb
|
|
// REQUIRES: executable_test
|
|
// REQUIRES: reflection
|
|
|
|
import StdlibUnittest
|
|
import StdlibCollectionUnittest
|
|
|
|
% import os.path
|
|
% import gyb
|
|
% ArrayType = 'ArraySlice'
|
|
|
|
var ${ArrayType}TestSuite = TestSuite("${ArrayType}")
|
|
|
|
% CommonTestsTemplate = gyb.parse_template(os.path.join(os.path.dirname(__file__), "Inputs/CommonArrayTests.gyb"))
|
|
% CommonTests = gyb.execute_template(CommonTestsTemplate, Suite=ArrayType+'TestSuite', ArrayType=ArrayType)
|
|
|
|
${CommonTests}
|
|
|
|
runAllTests()
|