2022-04-24 19:20:08 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2022-05-01 09:07:46 +02:00
|
|
|
"testing"
|
2022-04-24 19:20:08 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(t *testing.T) {
|
|
|
|
img1 := loadImage("assets/moutons.jpg")
|
|
|
|
img2 := loadImage("assets/lavande.jpg")
|
|
|
|
|
|
|
|
var pool blendWorkerPool
|
|
|
|
|
|
|
|
pool.InitWorkerPool()
|
|
|
|
|
|
|
|
pool.BlendImages(img1, img2)
|
|
|
|
}
|