#
# Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the
# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
# version 2 with the GNU Classpath Exception, which is available at
# https://www.gnu.org/software/classpath/license.html.
#
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#

#
# Data to test UIDSet.
#

TEST one UID
DATA 1
EXPECT 1

TEST two UIDs
DATA 1,3
EXPECT 1 3

TEST UID range
DATA 1:2
EXPECT 1 2

TEST bigger UID range
DATA 1:3
EXPECT 1 2 3

TEST two ranges
DATA 1:3,5:7
EXPECT 1 2 3 5 6 7

TEST ranges and singles
DATA 1:3,5,7:9
EXPECT 1 2 3 5 7 8 9

TEST many singles
DATA 1,3,5,7,9
EXPECT 1 3 5 7 9

TEST max
DATA 1
MAX 1
EXPECT 1

TEST max2
DATA 2
MAX 2
EXPECT 2

TEST max3
DATA 1:2
MAX 2
EXPECT 1 2

TEST max4
DATA 1:2
MAX 1 1
EXPECT 1

TEST max5
DATA 1:4
MAX 3 1:3
EXPECT 1 2 3

TEST empty
DATA EMPTY
EXPECT EMPTY
