From 4861358f5573fb9ed27eda0dda72dd2ba1022e84 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Wed, 26 Jul 2017 19:46:12 +0530 Subject: [PATCH] tests: add license boilerplate --- test/BencodeTests.hs | 19 +++++++++++++++++++ test/MetainfoTests.hs | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/test/BencodeTests.hs b/test/BencodeTests.hs index 004234d..6949e79 100644 --- a/test/BencodeTests.hs +++ b/test/BencodeTests.hs @@ -1,3 +1,22 @@ +{- + - Copyright (C) 2015-2016 Ramakrishnan Muthukrishnan + - + - This file is part of FuncTorrent. + - + - FuncTorrent is free software; you can redistribute it and/or modify + - it under the terms of the GNU General Public License as published by + - the Free Software Foundation; either version 3 of the License, or + - (at your option) any later version. + - + - FuncTorrent is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU General Public License for more details. + - + - You should have received a copy of the GNU General Public License + - along with FuncTorrent; if not, see + -} + module BencodeTests (tests) where import FuncTorrent.Bencode (encode, decode, BVal(..)) diff --git a/test/MetainfoTests.hs b/test/MetainfoTests.hs index f27486f..86aa0ff 100644 --- a/test/MetainfoTests.hs +++ b/test/MetainfoTests.hs @@ -1,5 +1,24 @@ -- | Tests for Metainfo module +{- + - Copyright (C) 2015-2016 Ramakrishnan Muthukrishnan + - + - This file is part of FuncTorrent. + - + - FuncTorrent is free software; you can redistribute it and/or modify + - it under the terms of the GNU General Public License as published by + - the Free Software Foundation; either version 3 of the License, or + - (at your option) any later version. + - + - FuncTorrent is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU General Public License for more details. + - + - You should have received a copy of the GNU General Public License + - along with FuncTorrent; if not, see + -} + module MetainfoTests where import Prelude hiding (readFile) -- 2.37.2