mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
stubbing test for multiple imports bug
This commit is contained in:
parent
c50cdf35a4
commit
33146b15e0
@ -29,6 +29,13 @@ vows.describe('Smoke Tests OpenCV').addBatch({
|
||||
, '.Matrix imports': function(topic){
|
||||
assert.ok(!!topic.Matrix)
|
||||
}
|
||||
|
||||
, 'importing library multiple times is ok' : function(){
|
||||
var cv1 = require('../lib/opencv')
|
||||
, cv2 = require('../lib/opencv')
|
||||
cv1.readImage('./examples/mona.png', function(){});
|
||||
cv2.readImage('./examples/mona.png', function(){});
|
||||
}
|
||||
}
|
||||
|
||||
, "Point" : {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user