From cd22fb63a6661960e01d6efb5d7412f708ae6669 Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 4 Dec 2018 13:26:25 +0000 Subject: [PATCH] some simple nimble test harnesses just to catch things locally (#28) * some simple nimble test harnesses just to catch things locally --- tests/all_tests.nim | 4 +++- tests/test_beacon_node.nim | 17 +++++++++++++++++ tests/test_sync_protocol.nim | 17 +++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tests/test_beacon_node.nim create mode 100644 tests/test_sync_protocol.nim diff --git a/tests/all_tests.nim b/tests/all_tests.nim index 7d305121f..12369a8f3 100644 --- a/tests/all_tests.nim +++ b/tests/all_tests.nim @@ -9,4 +9,6 @@ import ./test_beaconstate, ./test_block_processing, ./test_ssz, - ./test_validator + ./test_validator, + ./test_beacon_node, + ./test_sync_protocol diff --git a/tests/test_beacon_node.nim b/tests/test_beacon_node.nim new file mode 100644 index 000000000..7542bc6b8 --- /dev/null +++ b/tests/test_beacon_node.nim @@ -0,0 +1,17 @@ +# beacon_chain +# Copyright (c) 2018 Status Research & Development GmbH +# Licensed and distributed under either of +# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT). +# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0). +# at your option. This file may not be copied, modified, or distributed except according to those terms. + +import + unittest, + ./testhelpers, + ../beacon_chain/beacon_node + +suite "Beacon node": + # Compile test + + test "Compile": + discard diff --git a/tests/test_sync_protocol.nim b/tests/test_sync_protocol.nim new file mode 100644 index 000000000..9471d63e3 --- /dev/null +++ b/tests/test_sync_protocol.nim @@ -0,0 +1,17 @@ +# beacon_chain +# Copyright (c) 2018 Status Research & Development GmbH +# Licensed and distributed under either of +# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT). +# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0). +# at your option. This file may not be copied, modified, or distributed except according to those terms. + +import + unittest, + ./testhelpers, + ../beacon_chain/sync_protocol + +suite "Sync protocol": + # Compile test + + test "Compile": + discard