1
0
Fork 0
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:
ser1zw 2016-04-03 07:47:06 +09:00
parent cddbc9acca
commit a2b46e4839
44 changed files with 3631 additions and 80 deletions

View file

@ -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