Skip to content

Commit b9c7409

Browse files
committed
Add copyright banner to tests
1 parent b0748d9 commit b9c7409

15 files changed

Lines changed: 45 additions & 0 deletions

tests/unit/fn_ptr.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*foo_t)(void *);

tests/unit/fn_ptr_array.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*op_t)(int, int);

tests/unit/fn_ptr_as_condition.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef void (*callback_t)(int *);

tests/unit/fn_ptr_cast.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef void (*generic_fn)(void);

tests/unit/fn_ptr_conditional.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*op_t)(int);

tests/unit/fn_ptr_default_arg.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*transform_t)(int);

tests/unit/fn_ptr_global.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*op_t)(int);

tests/unit/fn_ptr_reassign.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*op_t)(int, int);

tests/unit/fn_ptr_return.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <assert.h>
25

36
typedef int (*op_t)(int);

tests/unit/fn_ptr_stable_sort.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2022-present INESC-ID.
2+
// Distributed under the MIT license that can be found in the LICENSE file.
3+
14
#include <algorithm>
25
#include <assert.h>
36
#include <vector>

0 commit comments

Comments
 (0)