1
0

dedicated struct to handle workers logic

This commit is contained in:
2022-04-24 19:20:08 +02:00
parent cf45b20309
commit 43cad153c4
4 changed files with 246 additions and 195 deletions

16
main_test.go Normal file
View File

@ -0,0 +1,16 @@
package main
import (
"testing"
)
func TestMain(t *testing.T) {
img1 := loadImage("assets/moutons.jpg")
img2 := loadImage("assets/lavande.jpg")
var pool blendWorkerPool
pool.InitWorkerPool()
pool.BlendImages(img1, img2)
}