Memory usage optimization
This commit is contained in:
14
pkg/rrc/histogram_test.go
Normal file
14
pkg/rrc/histogram_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package rrc
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestHistogram(t *testing.T) {
|
||||
lut, err := LoadLUT("../../data/rrc/B0.LUT", PANCameraProbeNum)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
if lut[CheckPointProbe][CheckPointGray] != 32767 {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user