poster_test.go 452 B

12345678910111213141516171819
  1. package video_list_helper
  2. import (
  3. "testing"
  4. )
  5. func TestVideoListHelper_GetMoviePoster(t *testing.T) {
  6. movieFPath := "X:\\movie\\The King's Man (2021)\\The King's Man (2021) WEBDL-1080p.mkv"
  7. v := VideoListHelper{}
  8. println("Poster:", v.GetMoviePoster(movieFPath))
  9. }
  10. func TestVideoListHelper_GetSeriesPoster(t *testing.T) {
  11. seriesDir := "X:\\连续剧\\良医 (2017)"
  12. v := VideoListHelper{}
  13. println("Poster:", v.GetSeriesPoster(seriesDir))
  14. }