Skip to content

Commit

Permalink
Add test file and copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
meshtag committed Aug 16, 2021
1 parent ed6391b commit 0dc2e26
Show file tree
Hide file tree
Showing 8 changed files with 349 additions and 22 deletions.
6 changes: 5 additions & 1 deletion example/matrix.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//
// Created by shino on 13.08.21.
// Copyright 2020 Olzhas Zhumabek <[email protected]>
//
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/gil.hpp>
#include <boost/gil/extension/io/png.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/boost/gil/algorithm.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//
// Copyright 2005-2007 Adobe Systems Incorporated
// Copyright 2021 Prathamesh Tagore <[email protected]>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
Expand Down
6 changes: 5 additions & 1 deletion include/boost/gil/extension/numeric/arithmetics.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//
// Created by shino on 14.08.21.
// Copyright 2020 Olzhas Zhumabek <[email protected]>
//
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//

#ifndef BOOST_GIL_ARITHMETICS_HPP
Expand Down
1 change: 1 addition & 0 deletions include/boost/gil/extension/numeric/convolve.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// Copyright 2005-2007 Adobe Systems Incorporated
// Copyright 2019 Miral Shah <[email protected]>
// Copyright 2021 Prathamesh Tagore <[email protected]>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
Expand Down
2 changes: 0 additions & 2 deletions include/boost/gil/extension/numeric/kernel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include <cmath>
#include <stdexcept>

#include <iostream>

namespace boost { namespace gil {

// Definitions of 1D fixed-size and variable-size kernels and related operations
Expand Down
7 changes: 5 additions & 2 deletions include/boost/gil/extension/numeric/matrix.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
//
// Created by shino on 14.08.21.
// Copyright 2020 Olzhas Zhumabek <[email protected]>
//
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//

#ifndef BOOST_GIL_MATRIX_HPP
#define BOOST_GIL_MATRIX_HPP

Expand Down
330 changes: 323 additions & 7 deletions test/extension/numeric/convolve_2d.cpp

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions test/extension/numeric/kernel_fixed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,17 @@ void test_kernel_1d_fixed_reverse_kernel()

int main()
{
// test_kernel_1d_fixed_default_constructor();
// test_kernel_2d_fixed_default_constructor();
// test_kernel_1d_fixed_parameterized_constructor();
// test_kernel_2d_fixed_parameterized_constructor();
test_kernel_1d_fixed_default_constructor();
test_kernel_2d_fixed_default_constructor();
test_kernel_1d_fixed_parameterized_constructor();
test_kernel_2d_fixed_parameterized_constructor();
test_kernel_1d_fixed_parameterized_constructor_with_iterator();
test_kernel_2d_fixed_parameterized_constructor_with_iterator();
// test_kernel_1d_fixed_copy_constructor();
// test_kernel_2d_fixed_copy_constructor();
// test_kernel_1d_fixed_assignment_operator();
// test_kernel_2d_fixed_assignment_operator();
// test_kernel_1d_fixed_reverse_kernel();
test_kernel_1d_fixed_copy_constructor();
test_kernel_2d_fixed_copy_constructor();
test_kernel_1d_fixed_assignment_operator();
test_kernel_2d_fixed_assignment_operator();
test_kernel_1d_fixed_reverse_kernel();

return ::boost::report_errors();
}

0 comments on commit 0dc2e26

Please sign in to comment.