OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libstdc++-v3/] [testsuite/] [ext/] [pb_ds/] [regression/] [list_update_map_rand.cc] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 742 jeremybenn
// { dg-require-time "" }
2
 
3
// -*- C++ -*-
4
 
5
// Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
6
//
7
// This file is part of the GNU ISO C++ Library.  This library is free
8
// software; you can redistribute it and/or modify it under the terms
9
// of the GNU General Public License as published by the Free Software
10
// Foundation; either version 3, or (at your option) any later
11
// version.
12
 
13
// This library is distributed in the hope that it will be useful, but
14
// WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
// General Public License for more details.
17
 
18
// You should have received a copy of the GNU General Public License
19
// along with this library; see the file COPYING3.  If not see
20
// <http://www.gnu.org/licenses/>.
21
 
22
 
23
// Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
24
 
25
// Permission to use, copy, modify, sell, and distribute this software
26
// is hereby granted without fee, provided that the above copyright
27
// notice appears in all copies, and that both that copyright notice
28
// and this permission notice appear in supporting documentation. None
29
// of the above authors, nor IBM Haifa Research Laboratories, make any
30
// representation about the suitability of this software for any
31
// purpose. It is provided "as is" without express or implied
32
// warranty.
33
 
34
/**
35
 * @file list_update_data_map_rand.cc
36
 * Contains a random-operation test for maps and sets.
37
 */
38
 
39
#define PB_DS_REGRESSION
40
 
41
#include <regression/rand/assoc/rand_regression_test.hpp>
42
#include <regression/common_type.hpp>
43
 
44
int
45
main(int argc, char* a_p_argv[])
46
{
47
  using namespace __gnu_pbds::test;
48
  typedef lu_map_tl_t map_tl_t;
49
 
50
  return rand_regression_test(50, 10,
51
                              "lu_data_map_rand_regression_test",
52
                              map_tl_t());
53
}
54
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.