mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
change module name to Cv
This commit is contained in:
parent
cddbc9acca
commit
a2b46e4839
44 changed files with 3631 additions and 80 deletions
|
@ -4,9 +4,9 @@ require 'test/unit'
|
|||
require 'opencv'
|
||||
require File.expand_path(File.dirname(__FILE__)) + '/helper'
|
||||
|
||||
include OpenCV
|
||||
include Cv
|
||||
|
||||
# Tests for OpenCV::Point
|
||||
# Tests for Cv::Point
|
||||
class TestPoint < OpenCVTestCase
|
||||
def test_x
|
||||
point = Point.new
|
||||
|
@ -61,7 +61,7 @@ class TestPoint < OpenCVTestCase
|
|||
|
||||
def test_to_s
|
||||
point = Point.new(10, 20)
|
||||
assert_equal('#<OpenCV::Point:[10, 20]>', point.to_s)
|
||||
assert_equal('#<Cv::Point:[10, 20]>', point.to_s)
|
||||
end
|
||||
|
||||
def test_to_a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue