Skip to content

Commit 0dc2e26

Browse files
committed
Add test file and copyright headers
1 parent ed6391b commit 0dc2e26

File tree

8 files changed

+349
-22
lines changed

8 files changed

+349
-22
lines changed

example/matrix.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//
2-
// Created by shino on 13.08.21.
2+
// Copyright 2020 Olzhas Zhumabek <[email protected]>
3+
//
4+
// Use, modification and distribution are subject to the Boost Software License,
5+
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
37
//
48
#include <boost/gil.hpp>
59
#include <boost/gil/extension/io/png.hpp>

include/boost/gil/algorithm.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//
22
// Copyright 2005-2007 Adobe Systems Incorporated
3+
// Copyright 2021 Prathamesh Tagore <[email protected]>
34
//
45
// Distributed under the Boost Software License, Version 1.0
56
// See accompanying file LICENSE_1_0.txt or copy at

include/boost/gil/extension/numeric/arithmetics.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//
2-
// Created by shino on 14.08.21.
2+
// Copyright 2020 Olzhas Zhumabek <[email protected]>
3+
//
4+
// Use, modification and distribution are subject to the Boost Software License,
5+
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
37
//
48

59
#ifndef BOOST_GIL_ARITHMETICS_HPP

include/boost/gil/extension/numeric/convolve.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//
22
// Copyright 2005-2007 Adobe Systems Incorporated
33
// Copyright 2019 Miral Shah <[email protected]>
4+
// Copyright 2021 Prathamesh Tagore <[email protected]>
45
//
56
// Distributed under the Boost Software License, Version 1.0
67
// See accompanying file LICENSE_1_0.txt or copy at

include/boost/gil/extension/numeric/kernel.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
#include <cmath>
2424
#include <stdexcept>
2525

26-
#include <iostream>
27-
2826
namespace boost { namespace gil {
2927

3028
// Definitions of 1D fixed-size and variable-size kernels and related operations

include/boost/gil/extension/numeric/matrix.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
//
2-
// Created by shino on 14.08.21.
2+
// Copyright 2020 Olzhas Zhumabek <[email protected]>
3+
//
4+
// Use, modification and distribution are subject to the Boost Software License,
5+
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6+
// http://www.boost.org/LICENSE_1_0.txt)
37
//
4-
58
#ifndef BOOST_GIL_MATRIX_HPP
69
#define BOOST_GIL_MATRIX_HPP
710

test/extension/numeric/convolve_2d.cpp

Lines changed: 323 additions & 7 deletions
Large diffs are not rendered by default.

test/extension/numeric/kernel_fixed.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,17 @@ void test_kernel_1d_fixed_reverse_kernel()
167167

168168
int main()
169169
{
170-
// test_kernel_1d_fixed_default_constructor();
171-
// test_kernel_2d_fixed_default_constructor();
172-
// test_kernel_1d_fixed_parameterized_constructor();
173-
// test_kernel_2d_fixed_parameterized_constructor();
170+
test_kernel_1d_fixed_default_constructor();
171+
test_kernel_2d_fixed_default_constructor();
172+
test_kernel_1d_fixed_parameterized_constructor();
173+
test_kernel_2d_fixed_parameterized_constructor();
174174
test_kernel_1d_fixed_parameterized_constructor_with_iterator();
175175
test_kernel_2d_fixed_parameterized_constructor_with_iterator();
176-
// test_kernel_1d_fixed_copy_constructor();
177-
// test_kernel_2d_fixed_copy_constructor();
178-
// test_kernel_1d_fixed_assignment_operator();
179-
// test_kernel_2d_fixed_assignment_operator();
180-
// test_kernel_1d_fixed_reverse_kernel();
176+
test_kernel_1d_fixed_copy_constructor();
177+
test_kernel_2d_fixed_copy_constructor();
178+
test_kernel_1d_fixed_assignment_operator();
179+
test_kernel_2d_fixed_assignment_operator();
180+
test_kernel_1d_fixed_reverse_kernel();
181181

182182
return ::boost::report_errors();
183183
}

0 commit comments

Comments
 (0)