Created
February 3, 2016 18:37
-
-
Save zeryx/68a151fd6036e415b721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by james on 27/01/16. | |
*/ | |
import algorithmia.VideoSplits._ | |
import org.scalatest._ | |
//TODO: figure out how to return a data:// string instead of a https://api.algorithmia.com/v1 string | |
class splitSpec extends FunSuite with Matchers{ | |
test("should split video file into segment"){ | |
val runManager = new VideoSplits | |
val input = SplitVideo("data://zeryx/videoSplit/drop.avi", "00:00:01.000", "00:00:02.250", None) | |
val responseVid: String = runManager(input) | |
responseVid.contains("data://.my/out/drop.avi") shouldBe true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment