mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
20 lines
466 B
Swift
20 lines
466 B
Swift
// RUN: %target-run-simple-swift
|
|
// REQUIRES: executable_test
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import StdlibUnittest
|
|
import CoreMedia
|
|
|
|
var CoreMediaTests = TestSuite("CoreMedia")
|
|
|
|
// This is a basic smoke test to check that the overlay works. It should be
|
|
// replaced with comprehensive tests.
|
|
CoreMediaTests.test("OverlaySmokeTest") {
|
|
expectTrue(CMTimeMake(1, 10).isValid)
|
|
expectTrue(CMTimeRangeMake(CMTimeMake(1, 10), CMTimeMake(2, 20)).isValid)
|
|
}
|
|
|
|
runAllTests()
|
|
|