dedicated struct to handle workers logic
This commit is contained in:
16
main_test.go
Normal file
16
main_test.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user