blob: 24a788a869cc4709e81abec666ee8e05de8f526a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.representation.cardinality;
import org.junit.jupiter.api.Test;
import tools.refinery.store.representation.cardinality.CardinalityIntervals;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.lessThan;
class EmptyCardinalityIntervalTest {
@Test
void inconsistentBoundsTest() {
assertThat(CardinalityIntervals.ERROR.upperBound().compareToInt(CardinalityIntervals.ERROR.lowerBound()),
lessThan(0));
}
}
|