~ubuntu-branches/debian/sid/bitcoin/sid

« back to all changes in this revision

Viewing changes to src/test/scriptnum_tests.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Howard
  • Date: 2015-07-29 15:45:52 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20150729154552-p5t8q38o0ekh1f09
Tags: 0.11.0-1
* New upstream release (Closes: #793622)
  - build on all archs, big endian is now supported
* Updated symbols file
* Added bitcoin-cli.1 manpage from contrib/debian/manpages
* Updated debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Copyright (c) 2012-2014 The Bitcoin Core developers
2
 
// Distributed under the MIT/X11 software license, see the accompanying
 
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
 
5
5
#include "bignum.h"
6
6
#include "script/script.h"
 
7
#include "test/test_bitcoin.h"
 
8
 
7
9
#include <boost/test/unit_test.hpp>
8
10
#include <limits.h>
9
11
#include <stdint.h>
10
 
BOOST_AUTO_TEST_SUITE(scriptnum_tests)
 
12
 
 
13
BOOST_FIXTURE_TEST_SUITE(scriptnum_tests, BasicTestingSetup)
11
14
 
12
15
static const int64_t values[] = \
13
16
{ 0, 1, CHAR_MIN, CHAR_MAX, UCHAR_MAX, SHRT_MIN, USHRT_MAX, INT_MIN, INT_MAX, UINT_MAX, LONG_MIN, LONG_MAX };