From f716a6d565ccea3b4e2532a74ab7e95bad2c8802 Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Tue, 10 Sep 2024 08:38:20 -0500 Subject: [PATCH 1/6] Improve Any bounds checking The broader goal here is to understand "bounded" Anys, which are very necessary for Computer -> Function adaptation. Suppose we ask for a Function , hoping to match some Computers.Arity1, O extends RealType> via adaptation. Adapation requires (1) the underlying Computers.Arity1 Op, but also (2) some way to generate the output (in practice, either a Function or a Producer). If there are no bounds on the Any, then we can get incorrect matches, such as a Producer, which would produce an object unsuitable for the Computers.Arity1 op being adapted. Therefore it is necessary to attach bounds on the Any (as an example, an Any bounded by RealType) to ensure correct matching. --- .../main/java/org/scijava/common3/Types.java | 55 +++++++++++++------ .../adapt/AdaptationMatchingRoutine.java | 10 ++-- .../scijava/types/infer/AnyTypeMapping.java | 37 +++++++++++++ .../types/infer/GenericAssignability.java | 4 ++ .../org/scijava/types/infer/TypeMapping.java | 14 +++++ .../types/infer/InferTypeVariablesTest.java | 10 ++-- 6 files changed, 104 insertions(+), 26 deletions(-) create mode 100644 scijava-types/src/main/java/org/scijava/types/infer/AnyTypeMapping.java diff --git a/scijava-common3/src/main/java/org/scijava/common3/Types.java b/scijava-common3/src/main/java/org/scijava/common3/Types.java index 13d640147..0e40f7831 100644 --- a/scijava-common3/src/main/java/org/scijava/common3/Types.java +++ b/scijava-common3/src/main/java/org/scijava/common3/Types.java @@ -1127,8 +1127,23 @@ private static boolean isAssignable(final Type type, final Any toType, final Map, Type> typeVarAssigns) { if (type instanceof TypeVariable) { - // TODO: do we need to do here what we do with the ParameterizedType? + // If the type variable has an assignment already, we should check against that instead. + TypeVariable typeVar = (TypeVariable) type; + if (typeVarAssigns.containsKey(typeVar)) {{ + return isAssignable(typeVarAssigns.get(typeVar), toType, typeVarAssigns); + }} } + + // For a type to be assignable to an Any, it must fit within the Any's upper and lower bounds. + for (var upperBound : toType.getUpperBounds()) { + if (!isAssignable(type, upperBound)) return false; + } + + for (var lowerBound : toType.getLowerBounds()) { + if (!isAssignable(lowerBound, type)) return false; + } + + // Now that we know the type is assignable to an Any, we can do some type variable mapping. if (type instanceof ParameterizedType) { // check if any of the type parameters are TypeVariables, and if so // bind them to a new Any with the bounds of the TypeVariable. @@ -1145,14 +1160,6 @@ private static boolean isAssignable(final Type type, final Any toType, return true; } - for (var upperBound : toType.getUpperBounds()) { - if (!isAssignable(type, upperBound)) return false; - } - - for (var lowerBound : toType.getLowerBounds()) { - if (!isAssignable(lowerBound, type)) return false; - } - return true; } @@ -1367,10 +1374,14 @@ else if (!isAssignable(fromResolved == null ? fromTypeArg typeVarAssigns.put(unbounded, fromResolved); toResolved = fromResolved; } - // bind unbounded to another type variable + // bind unbounded to a TypeVariable or Any else { - typeVarAssigns.put((TypeVariable) toTypeVarAssigns.get(var), - fromTypeVarAssigns.get(var)); + TypeVariable to = (TypeVariable) toTypeVarAssigns.get(var); + Type from = fromTypeVarAssigns.get(var); + if (from == null) { + from = new Any(to.getBounds()); + } + typeVarAssigns.put(to, from); } } @@ -1379,8 +1390,20 @@ else if (!isAssignable(fromResolved == null ? fromTypeArg // parameters of the target type. if (fromResolved != null && !fromResolved.equals(toResolved)) { // check for anys - if (Any.is(fromResolved) || Any.is(toResolved)) continue; - if (fromResolved instanceof ParameterizedType && + if (Any.is(toResolved)) { + Any a = toResolved instanceof Any ? (Any) toResolved : new Any(); + for (Type upper: a.getUpperBounds()) { + if (!Types.isAssignable(fromResolved, upper)) + return false; + } + for (Type lower: a.getLowerBounds()) { + if (!Types.isAssignable(lower, fromResolved)) + return false; + } + continue; + } + else if (Any.is(fromResolved)) continue; + else if (fromResolved instanceof ParameterizedType && toResolved instanceof ParameterizedType) { if (raw(fromResolved) != raw(toResolved)) { @@ -1791,8 +1814,8 @@ private static boolean isAssignable(final Type type, } if (Any.is(type)) { - typeVarAssigns.put(toTypeVariable, new Any(toTypeVariable.getBounds())); - return true; + typeVarAssigns.putIfAbsent(toTypeVariable, new Any(toTypeVariable.getBounds())); + return isAssignable(typeVarAssigns.get(toTypeVariable), type); } throw new IllegalStateException("found an unhandled type: " + type); diff --git a/scijava-ops-engine/src/main/java/org/scijava/ops/engine/matcher/adapt/AdaptationMatchingRoutine.java b/scijava-ops-engine/src/main/java/org/scijava/ops/engine/matcher/adapt/AdaptationMatchingRoutine.java index d0d60bf08..50c778313 100644 --- a/scijava-ops-engine/src/main/java/org/scijava/ops/engine/matcher/adapt/AdaptationMatchingRoutine.java +++ b/scijava-ops-engine/src/main/java/org/scijava/ops/engine/matcher/adapt/AdaptationMatchingRoutine.java @@ -40,7 +40,6 @@ import org.scijava.ops.engine.matcher.OpCandidate.StatusCode; import org.scijava.ops.engine.matcher.OpMatcher; import org.scijava.ops.engine.matcher.impl.DefaultOpRequest; -import org.scijava.ops.engine.struct.FunctionalMethodType; import org.scijava.ops.engine.struct.FunctionalParameters; import org.scijava.ops.engine.util.Infos; import org.scijava.priority.Priority; @@ -172,10 +171,11 @@ public OpCandidate findMatch(MatchingConditions conditions, OpMatcher matcher, * @param candidate the {@link OpCandidate} matched for the adaptor input * @param map the mapping */ - private void captureTypeVarsFromCandidate(Type adaptorType, OpCandidate candidate, - Map, Type> map) - { - + private void captureTypeVarsFromCandidate( + Type adaptorType, + OpCandidate candidate, + Map, Type> map + ) { // STEP 1: Base adaptor type variables // For example, let's say we're operating on Computers. // The adaptor might work on Computers. Which we need to resolve. diff --git a/scijava-types/src/main/java/org/scijava/types/infer/AnyTypeMapping.java b/scijava-types/src/main/java/org/scijava/types/infer/AnyTypeMapping.java new file mode 100644 index 000000000..d9739afa7 --- /dev/null +++ b/scijava-types/src/main/java/org/scijava/types/infer/AnyTypeMapping.java @@ -0,0 +1,37 @@ +package org.scijava.types.infer; + +import org.scijava.common3.Any; +import org.scijava.common3.Types; + +import java.lang.reflect.Type; +import java.lang.reflect.TypeVariable; + +/** + * @author Gabriel Selzer + */ +class AnyTypeMapping extends TypeMapping { + + private final Any boundingAny; + + AnyTypeMapping(TypeVariable typeVar, Type any, + boolean malleable) + { + super(typeVar, any, malleable); + this.boundingAny = any instanceof Any ? (Any) any : new Any(typeVar.getBounds()); + } + + @Override + public void refine(Type newType, boolean malleable) { + super.refine(newType, malleable); + for(Type t: boundingAny.getLowerBounds()) { + if (!Types.isAssignable(t, newType)) { + throw new TypeInferenceException("The new type " + newType + " is not a parent of the Any bound " + t); + } + } + for(Type t: boundingAny.getUpperBounds()) { + if (!Types.isAssignable(newType, t)) { + throw new TypeInferenceException("The new type " + newType + " is not a child of the Any bound " + t); + } + } + } +} diff --git a/scijava-types/src/main/java/org/scijava/types/infer/GenericAssignability.java b/scijava-types/src/main/java/org/scijava/types/infer/GenericAssignability.java index 3c1cd9a30..dcfad0d98 100644 --- a/scijava-types/src/main/java/org/scijava/types/infer/GenericAssignability.java +++ b/scijava-types/src/main/java/org/scijava/types/infer/GenericAssignability.java @@ -676,6 +676,10 @@ private static TypeMapping suitableTypeMapping(TypeVariable typeVar, return new WildcardTypeMapping(typeVar, (WildcardType) newType, malleability); } + if (Any.is(newType)) { + Any a = newType instanceof Any ? (Any) newType : new Any(typeVar.getBounds()); + return new AnyTypeMapping(typeVar, a, malleability); + } return new TypeMapping(typeVar, newType, malleability); } diff --git a/scijava-types/src/main/java/org/scijava/types/infer/TypeMapping.java b/scijava-types/src/main/java/org/scijava/types/infer/TypeMapping.java index 0e93cb159..25202ae67 100644 --- a/scijava-types/src/main/java/org/scijava/types/infer/TypeMapping.java +++ b/scijava-types/src/main/java/org/scijava/types/infer/TypeMapping.java @@ -85,6 +85,20 @@ public void refine(Type otherType, boolean newTypeMalleability) { return; } if (Any.is(otherType)) { + // verify Any's bounds: + if (otherType instanceof Any) { + Any casted = (Any) otherType; + for (Type t: casted.getUpperBounds()) { + if (!Types.isAssignable(mappedType, t)) { + throw new TypeInferenceException("Any " + casted + " has an upper bound on " + t + ", which is outside of the current mapped type " + mappedType + " of TypeVariable " + typeVar); + } + } + for (Type t: casted.getLowerBounds()) { + if (!Types.isAssignable(t, mappedType)) { + throw new TypeInferenceException("Any " + casted + " has an lower bound on " + t + ", which is outside of the current mapped type " + mappedType + " of TypeVariable " + typeVar); + } + } + } return; } if (otherType instanceof WildcardType) { diff --git a/scijava-types/src/test/java/org/scijava/types/infer/InferTypeVariablesTest.java b/scijava-types/src/test/java/org/scijava/types/infer/InferTypeVariablesTest.java index 946239b69..ba81c9932 100644 --- a/scijava-types/src/test/java/org/scijava/types/infer/InferTypeVariablesTest.java +++ b/scijava-types/src/test/java/org/scijava/types/infer/InferTypeVariablesTest.java @@ -205,7 +205,7 @@ public void testInferOToAny() // We expect O = Any TypeVariable typeVarO = (TypeVariable) new Nil() {}.type(); Map, TypeMapping> expected = new HashMap<>(); - expected.put(typeVarO, new TypeMapping(typeVarO, Any.class, true)); + expected.put(typeVarO, new TypeMapping(typeVarO, new Any(new Type[]{Number.class}), true)); Assertions.assertEquals(expected, typeAssigns); } @@ -223,7 +223,7 @@ public void testInferOToAnyWithClass() // We expect O = Any TypeVariable typeVarO = (TypeVariable) new Nil() {}.type(); Map, TypeMapping> expected = new HashMap<>(); - expected.put(typeVarO, new TypeMapping(typeVarO, Any.class, true)); + expected.put(typeVarO, new TypeMapping(typeVarO, new Any(new Type[] {Number.class}), true)); Assertions.assertEquals(expected, typeAssigns); } @@ -241,7 +241,7 @@ public void testInferOToAnyWithInterface() // We expect O = Any TypeVariable typeVarO = (TypeVariable) new Nil() {}.type(); Map, TypeMapping> expected = new HashMap<>(); - expected.put(typeVarO, new TypeMapping(typeVarO, Any.class, true)); + expected.put(typeVarO, new TypeMapping(typeVarO, new Any(new Type[] {Number.class}), true)); Assertions.assertEquals(expected, typeAssigns); } @@ -259,7 +259,7 @@ public void testInferOToAnyWithRawType() // We expect O = Any TypeVariable typeVarO = (TypeVariable) new Nil() {}.type(); Map, TypeMapping> expected = new HashMap<>(); - expected.put(typeVarO, new TypeMapping(typeVarO, Any.class, true)); + expected.put(typeVarO, new TypeMapping(typeVarO, new Any(new Type[] {Number.class}), true)); Assertions.assertEquals(expected, typeAssigns); } @@ -425,7 +425,7 @@ public void testWildcardTypeInference() throws TypeInferenceException { paramType }, new java.lang.reflect.Type[] { argType }, typeAssigns); TypeVariable typeVar = (TypeVariable) new Nil() {}.type(); final Map, Type> expected = new HashMap<>(); - expected.put(typeVar, Any.class); + expected.put(typeVar, new Any(new Type[] {new Nil>() {}.type()})); Assertions.assertEquals(expected, typeAssigns); } } From 69773147b2b241d1bda5e322209fadbee0d02d39 Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Tue, 10 Sep 2024 13:33:24 -0500 Subject: [PATCH 2/6] Add Number <-> RealType converters --- .../image/convert/NumbersToNativeTypes.java | 148 ++++++++++++++++++ .../scijava/ops/image/OpRegressionTest.java | 2 +- .../convert/TestConvertRealTypeNumbers.java | 88 +++++++++++ 3 files changed, 237 insertions(+), 1 deletion(-) create mode 100644 scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java create mode 100644 scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java diff --git a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java new file mode 100644 index 000000000..cdc5bf13c --- /dev/null +++ b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java @@ -0,0 +1,148 @@ +/*- + * #%L + * Image processing operations for SciJava Ops. + * %% + * Copyright (C) 2014 - 2024 SciJava developers. + * %% + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * #L% + */ +package org.scijava.ops.image.convert; + +import net.imglib2.type.NativeType; +import net.imglib2.type.numeric.RealType; +import net.imglib2.type.numeric.integer.*; +import net.imglib2.type.numeric.real.DoubleType; +import net.imglib2.type.numeric.real.FloatType; +import org.scijava.ops.spi.OpDependency; + +import java.util.function.Function; + +/** + * Converters for converting between {@link NativeType}s and {@link Number}s + * + * @author Gabriel Selzer + */ +public class NumbersToNativeTypes> { + + // -- Numbers to RealTypes -- // + + /** + * @input num the {@link Number} to convert + * @output a {@link ByteType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.int8' + */ + public final Function numberToByteType = // + num -> new ByteType(num.byteValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link UnsignedByteType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.int8' + */ + public final Function numberToUnsignedByteType = // + num -> new UnsignedByteType(num.shortValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link ShortType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.int16' + */ + public final Function numberToShortType = // + num -> new ShortType(num.shortValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link IntType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.int32' + */ + public final Function numberToIntType = // + num -> new IntType(num.intValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link LongType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.int64' + */ + public final Function numberToLongType = // + num -> new LongType(num.longValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link FloatType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.float32' + */ + public final Function numberToFloatType = // + num -> new FloatType(num.floatValue()); + + /** + * @input num the {@link Number} to convert + * @output a {@link DoubleType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.float64' + */ + public final Function numberToDoubleType = // + num -> new DoubleType(num.doubleValue()); + + // -- RealTypes to Numbers -- // + + /** + * @input realType the {@link ByteType} to convert + * @output the {@link Byte}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int8' + */ + public final Function byteTypeToByte = ByteType::get; + + /** + * @input realType the {@link ShortType} to convert + * @output the {@link Short}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int16' + */ + public final Function shortTypeToShort = ShortType::get; + + /** + * @input realType the {@link IntType} to convert + * @output the {@link Integer}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int32' + */ + public final Function intTypeToInteger = IntType::get; + + /** + * @input realType the {@link LongType} to convert + * @output the {@link Long}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int64' + */ + public final Function longTypeToLong = LongType::get; + + /** + * @input num the {@link Number} to convert + * @output a {@link DoubleType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.float32' + */ + public final Function floatTypeToFloat = FloatType::get; + + /** + * @input num the {@link Number} to convert + * @output a {@link DoubleType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.float64' + */ + public final Function doubleTypeToDouble = DoubleType::get; +} diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java index e3d6236fa..cb8eef125 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java @@ -42,7 +42,7 @@ public class OpRegressionTest { @Test public void testOpDiscoveryRegression() { - long expected = 1943; + long expected = 1956; long actual = ops.infos().size(); assertEquals(expected, actual); } diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java new file mode 100644 index 000000000..8bd430bfc --- /dev/null +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java @@ -0,0 +1,88 @@ +/*- + * #%L + * Image processing operations for SciJava Ops. + * %% + * Copyright (C) 2014 - 2024 SciJava developers. + * %% + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * #L% + */ +package org.scijava.ops.image.convert; + +import net.imglib2.type.numeric.integer.ByteType; +import net.imglib2.type.numeric.integer.IntType; +import net.imglib2.type.numeric.integer.LongType; +import net.imglib2.type.numeric.integer.ShortType; +import net.imglib2.type.numeric.real.DoubleType; +import net.imglib2.type.numeric.real.FloatType; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.scijava.ops.image.AbstractOpTest; + +import java.util.function.Function; + +public class TestConvertRealTypeNumbers extends AbstractOpTest { + + public static final Class[] REAL_TYPES = { + ByteType.class, + ShortType.class, + IntType.class, + LongType.class, + FloatType.class, + DoubleType.class + }; + + public static final Class[] NUMBERS = { + Byte.class, + Short.class, + Integer.class, + Long.class, + Float.class, + Double.class + }; + + @Test + public void testConversion() { + Function f; + for(Class rt: REAL_TYPES){ + for (Class n: NUMBERS) { + // rt -> n + Assertions.assertDoesNotThrow(() -> // + ops.op("engine.convert") // + .inType(rt) // + .outType(n) // + .function(), // + "Could not convert " + rt + " objects to " + n + ); + // rt -> n + Assertions.assertDoesNotThrow(() -> // + ops.op("engine.convert") // + .inType(n) // + .outType(rt) // + .function(), // + "Could not convert " + n + " objects to " + rt + ); + } + } + + } +} From a15bc0e48ae845235cd7cf96d3204e8e65fcc744 Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Thu, 23 Jan 2025 17:39:43 -0600 Subject: [PATCH 3/6] Test converters work in practice --- .../image/convert/NumbersToNativeTypes.java | 66 +++++++++++++++---- .../scijava/ops/image/OpRegressionTest.java | 2 +- .../convert/TestConvertRealTypeNumbers.java | 66 +++++++++++++++++-- 3 files changed, 113 insertions(+), 21 deletions(-) diff --git a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java index cdc5bf13c..1a9d46ab2 100644 --- a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java +++ b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java @@ -29,6 +29,7 @@ package org.scijava.ops.image.convert; import net.imglib2.type.NativeType; +import net.imglib2.type.numeric.IntegerType; import net.imglib2.type.numeric.RealType; import net.imglib2.type.numeric.integer.*; import net.imglib2.type.numeric.real.DoubleType; @@ -42,7 +43,7 @@ * * @author Gabriel Selzer */ -public class NumbersToNativeTypes> { +public class NumbersToNativeTypes, I extends IntegerType> { // -- Numbers to RealTypes -- // @@ -95,9 +96,12 @@ public class NumbersToNativeTypes> { num -> new FloatType(num.floatValue()); /** + * NB This converter wins against those above in requests for e.g. + * {@code Function>} + * * @input num the {@link Number} to convert * @output a {@link DoubleType} containing the information in {@code num} - * @implNote op names='engine.convert, convert.float64' + * @implNote op names='engine.convert, convert.float64', priority=100 */ public final Function numberToDoubleType = // num -> new DoubleType(num.doubleValue()); @@ -105,44 +109,80 @@ public class NumbersToNativeTypes> { // -- RealTypes to Numbers -- // /** + * @input realType the {@link ByteType} to convert + * @output the {@link Byte}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int8', priority="10" + */ + public final Function integerTypeToByte = i -> (byte) i.getIntegerLong(); + + /** + * NB potentially lossy, so lower priority + * * @input realType the {@link ByteType} to convert * @output the {@link Byte}, converted from {@code realType} * @implNote op names='engine.convert, convert.int8' */ - public final Function byteTypeToByte = ByteType::get; + public final Function realTypeToByte = i -> (byte) i.getRealDouble(); /** + * @input realType the {@link ShortType} to convert + * @output the {@link Short}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int16', priority="10" + */ + public final Function integerTypeToShort = i -> (short) i.getInteger(); + + /** + * NB potentially lossy, so lower priority + * * @input realType the {@link ShortType} to convert * @output the {@link Short}, converted from {@code realType} * @implNote op names='engine.convert, convert.int16' */ - public final Function shortTypeToShort = ShortType::get; + public final Function realTypeToShort = i -> (short) i.getRealDouble(); /** * @input realType the {@link IntType} to convert * @output the {@link Integer}, converted from {@code realType} + * @implNote op names='engine.convert, convert.int32', priority="10" + */ + public final Function integerTypeToInteger = IntegerType::getInteger; + + /** + * NB potentially lossy, so lower priority + * + * @input realType the {@link RealType} to convert + * @output the {@link Integer}, converted from {@code realType} * @implNote op names='engine.convert, convert.int32' */ - public final Function intTypeToInteger = IntType::get; + public final Function realTypeToInteger = i -> (int) i.getRealDouble(); + + /** + * @input integerType the {@link IntegerType} to convert + * @output the {@link Long}, converted from {@code integerType} + * @implNote op names='engine.convert, convert.int64', priority="10" + */ + public final Function integerTypeToLong = IntegerType::getIntegerLong; /** - * @input realType the {@link LongType} to convert + * NB potentially lossy, so lower priority + * + * @input realType the {@link RealType} to convert * @output the {@link Long}, converted from {@code realType} * @implNote op names='engine.convert, convert.int64' */ - public final Function longTypeToLong = LongType::get; + public final Function realTypeToLong = i -> (long) i.getRealDouble(); /** - * @input num the {@link Number} to convert - * @output a {@link DoubleType} containing the information in {@code num} + * @input realType the {@link RealType} to convert + * @output the {@link Long}, converted from {@code realType} * @implNote op names='engine.convert, convert.float32' */ - public final Function floatTypeToFloat = FloatType::get; + public final Function realTypeToFloat = RealType::getRealFloat; /** - * @input num the {@link Number} to convert - * @output a {@link DoubleType} containing the information in {@code num} + * @input realType the {@link RealType} to convert + * @output the {@link Long}, converted from {@code realType} * @implNote op names='engine.convert, convert.float64' */ - public final Function doubleTypeToDouble = DoubleType::get; + public final Function realTypeToDouble = RealType::getRealDouble; } diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java index cb8eef125..5628029b0 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java @@ -42,7 +42,7 @@ public class OpRegressionTest { @Test public void testOpDiscoveryRegression() { - long expected = 1956; + long expected = 1962; long actual = ops.infos().size(); assertEquals(expected, actual); } diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java index 8bd430bfc..78fae9005 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java @@ -28,18 +28,14 @@ */ package org.scijava.ops.image.convert; -import net.imglib2.type.numeric.integer.ByteType; -import net.imglib2.type.numeric.integer.IntType; -import net.imglib2.type.numeric.integer.LongType; -import net.imglib2.type.numeric.integer.ShortType; +import net.imglib2.type.numeric.RealType; +import net.imglib2.type.numeric.integer.*; import net.imglib2.type.numeric.real.DoubleType; import net.imglib2.type.numeric.real.FloatType; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.scijava.ops.image.AbstractOpTest; -import java.util.function.Function; - public class TestConvertRealTypeNumbers extends AbstractOpTest { public static final Class[] REAL_TYPES = { @@ -62,7 +58,6 @@ public class TestConvertRealTypeNumbers extends AbstractOpTest { @Test public void testConversion() { - Function f; for(Class rt: REAL_TYPES){ for (Class n: NUMBERS) { // rt -> n @@ -85,4 +80,61 @@ public void testConversion() { } } + + /** + * Creates a five. + * + * @param input some unused input + * @return five + * @implNote op names="create.five" + */ + public static > LongType createRealTypeFive(T input) { + return new LongType(5L); + } + + /** + * Creates a five. + * + * @param input some unused input + * @return five + * @implNote op names="create.five" + */ + public static LongType createNumberFive(N input) { + return new LongType(5L); + } + + /** + * Test that in practice the converters work + */ + @Test + public void testExecution() { + Object[] numbers = { // + (byte) 5, // + (short) 5, // + 5, // + 5L, // + 5f, // + 5d // + }; + for (var i: numbers) { + ops.op("create.five").input(i).outType(LongType.class).apply(); + } + + Object[] realTypes = { // + new ByteType((byte) 5), // + new UnsignedByteType( 5), // + new ShortType((short) 5), // + new UnsignedShortType( 5), // + new IntType(5), // + new UnsignedIntType( 5), // + new LongType(5), // + new UnsignedLongType( 5), // + new FloatType( 5f), // + new DoubleType( 5d), // + }; + for (var i: realTypes) { + ops.op("create.five").input(i).outType(LongType.class).apply(); + } + } + } From 5aea9a5b89c26ba527e06777410fe2120cb79e32 Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Fri, 7 Feb 2025 10:38:18 -0600 Subject: [PATCH 4/6] Clean Number <-> RealType <-> RealType conversion --- ...ertTypes.java => ConvertComplexTypes.java} | 2 +- ...es.java => ConvertNumbersToRealTypes.java} | 28 +- ...Type.java => TestConvertComplexTypes.java} | 584 +++++++++--------- .../ops/image/convert/TestConvertImages.java | 580 ++++++++--------- ...ava => TestConvertNumbersToRealTypes.java} | 2 +- ...Type.list => TestConvertComplexTypes.list} | 2 +- ...vertType.vm => TestConvertComplexTypes.vm} | 8 +- .../ops/image/convert/TestConvertImages.vm | 6 +- 8 files changed, 606 insertions(+), 606 deletions(-) rename scijava-ops-image/src/main/java/org/scijava/ops/image/convert/{ConvertTypes.java => ConvertComplexTypes.java} (99%) rename scijava-ops-image/src/main/java/org/scijava/ops/image/convert/{NumbersToNativeTypes.java => ConvertNumbersToRealTypes.java} (88%) rename scijava-ops-image/src/test/java/org/scijava/ops/image/convert/{TestConvertType.java => TestConvertComplexTypes.java} (89%) rename scijava-ops-image/src/test/java/org/scijava/ops/image/convert/{TestConvertRealTypeNumbers.java => TestConvertNumbersToRealTypes.java} (98%) rename scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/{TestConvertType.list => TestConvertComplexTypes.list} (99%) rename scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/{TestConvertType.vm => TestConvertComplexTypes.vm} (94%) diff --git a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertTypes.java b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertComplexTypes.java similarity index 99% rename from scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertTypes.java rename to scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertComplexTypes.java index f19f88864..43bedac04 100644 --- a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertTypes.java +++ b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertComplexTypes.java @@ -58,7 +58,7 @@ * * @author Alison Walter */ -public final class ConvertTypes, T extends IntegerType> { +public final class ConvertComplexTypes, T extends IntegerType> { /** * @input input diff --git a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java similarity index 88% rename from scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java rename to scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java index 1a9d46ab2..91520913b 100644 --- a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/NumbersToNativeTypes.java +++ b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java @@ -28,25 +28,25 @@ */ package org.scijava.ops.image.convert; -import net.imglib2.type.NativeType; import net.imglib2.type.numeric.IntegerType; import net.imglib2.type.numeric.RealType; import net.imglib2.type.numeric.integer.*; import net.imglib2.type.numeric.real.DoubleType; import net.imglib2.type.numeric.real.FloatType; -import org.scijava.ops.spi.OpDependency; import java.util.function.Function; /** - * Converters for converting between {@link NativeType}s and {@link Number}s + * Converters for converting between {@link RealType}s and {@link Number}s * * @author Gabriel Selzer */ -public class NumbersToNativeTypes, I extends IntegerType> { +public class ConvertNumbersToRealTypes, I extends IntegerType> { // -- Numbers to RealTypes -- // + // NB Combo conversion uses these to convert to any RealType + /** * @input num the {@link Number} to convert * @output a {@link ByteType} containing the information in {@code num} @@ -109,8 +109,8 @@ public class NumbersToNativeTypes, I ext // -- RealTypes to Numbers -- // /** - * @input realType the {@link ByteType} to convert - * @output the {@link Byte}, converted from {@code realType} + * @input integerType the {@link IntegerType} to convert + * @output the {@link Byte}, converted from {@code integerType} * @implNote op names='engine.convert, convert.int8', priority="10" */ public final Function integerTypeToByte = i -> (byte) i.getIntegerLong(); @@ -118,15 +118,15 @@ public class NumbersToNativeTypes, I ext /** * NB potentially lossy, so lower priority * - * @input realType the {@link ByteType} to convert + * @input realType the {@link RealType} to convert * @output the {@link Byte}, converted from {@code realType} * @implNote op names='engine.convert, convert.int8' */ public final Function realTypeToByte = i -> (byte) i.getRealDouble(); /** - * @input realType the {@link ShortType} to convert - * @output the {@link Short}, converted from {@code realType} + * @input integerType the {@link IntegerType} to convert + * @output the {@link Short}, converted from {@code integerType} * @implNote op names='engine.convert, convert.int16', priority="10" */ public final Function integerTypeToShort = i -> (short) i.getInteger(); @@ -134,15 +134,15 @@ public class NumbersToNativeTypes, I ext /** * NB potentially lossy, so lower priority * - * @input realType the {@link ShortType} to convert + * @input realType the {@link RealType} to convert * @output the {@link Short}, converted from {@code realType} * @implNote op names='engine.convert, convert.int16' */ public final Function realTypeToShort = i -> (short) i.getRealDouble(); /** - * @input realType the {@link IntType} to convert - * @output the {@link Integer}, converted from {@code realType} + * @input integerType the {@link IntegerType} to convert + * @output the {@link Integer}, converted from {@code integerType} * @implNote op names='engine.convert, convert.int32', priority="10" */ public final Function integerTypeToInteger = IntegerType::getInteger; @@ -174,14 +174,14 @@ public class NumbersToNativeTypes, I ext /** * @input realType the {@link RealType} to convert - * @output the {@link Long}, converted from {@code realType} + * @output the {@link Float}, converted from {@code realType} * @implNote op names='engine.convert, convert.float32' */ public final Function realTypeToFloat = RealType::getRealFloat; /** * @input realType the {@link RealType} to convert - * @output the {@link Long}, converted from {@code realType} + * @output the {@link Double}, converted from {@code realType} * @implNote op names='engine.convert, convert.float64' */ public final Function realTypeToDouble = RealType::getRealDouble; diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertType.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.java similarity index 89% rename from scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertType.java rename to scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.java index 406c4f72d..606ceb933 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertType.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.java @@ -2,7 +2,7 @@ * #%L * Image processing operations for SciJava Ops. * %% - * Copyright (C) 2014 - 2024 SciJava developers. + * Copyright (C) 2014 - 2025 SciJava developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -60,11 +60,11 @@ import net.imglib2.type.numeric.real.FloatType; /** - * Tests the {@link ConvertTypes} ops. + * Tests the {@link ConvertComplexTypes} ops. * * @author Alison Walter */ -public class TestConvertType extends AbstractOpTest{ +public class TestConvertComplexTypes extends AbstractOpTest{ private final BigInteger p64 = new BigInteger("AEF234567ABCD123", 16); private final BigInteger n64 = new BigInteger("-1399890AB", 16); @@ -73,7 +73,7 @@ public class TestConvertType extends AbstractOpTest{ private final BigInteger p128 = new BigInteger("2CAFE0321BEEF0717BABE0929DEAD0311", 16); private final BigInteger n128 = new BigInteger("-482301498A285BFD0982EE7DE02398BC9080459284CCDE90E9F0D00C043981210481AAADEF2", 16); - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testBitToBit() { @@ -86,7 +86,7 @@ public void testBitToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint2ToBit() { @@ -99,7 +99,7 @@ public void testUint2ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint4ToBit() { @@ -112,7 +112,7 @@ public void testUint4ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt8ToBit() { @@ -128,7 +128,7 @@ public void testInt8ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint8ToBit() { @@ -141,7 +141,7 @@ public void testUint8ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint12ToBit() { @@ -154,7 +154,7 @@ public void testUint12ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt16ToBit() { @@ -170,7 +170,7 @@ public void testInt16ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint16ToBit() { @@ -183,7 +183,7 @@ public void testUint16ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt32ToBit() { @@ -199,7 +199,7 @@ public void testInt32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint32ToBit() { @@ -212,7 +212,7 @@ public void testUint32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt64ToBit() { @@ -228,7 +228,7 @@ public void testInt64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint64ToBit() { @@ -244,7 +244,7 @@ public void testUint64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint128ToBit() { @@ -260,7 +260,7 @@ public void testUint128ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testFloat32ToBit() { @@ -276,7 +276,7 @@ public void testFloat32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testCfloat32ToBit() { @@ -292,7 +292,7 @@ public void testCfloat32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testFloat64ToBit() { @@ -311,7 +311,7 @@ public void testFloat64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testCfloat64ToBit() { @@ -327,7 +327,7 @@ public void testCfloat64ToBit() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testBitToUint2() { @@ -340,7 +340,7 @@ public void testBitToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint2ToUint2() { @@ -353,7 +353,7 @@ public void testUint2ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint4ToUint2() { @@ -366,7 +366,7 @@ public void testUint4ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt8ToUint2() { @@ -382,7 +382,7 @@ public void testInt8ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint8ToUint2() { @@ -395,7 +395,7 @@ public void testUint8ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint12ToUint2() { @@ -408,7 +408,7 @@ public void testUint12ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt16ToUint2() { @@ -424,7 +424,7 @@ public void testInt16ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint16ToUint2() { @@ -437,7 +437,7 @@ public void testUint16ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt32ToUint2() { @@ -453,7 +453,7 @@ public void testInt32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint32ToUint2() { @@ -466,7 +466,7 @@ public void testUint32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt64ToUint2() { @@ -482,7 +482,7 @@ public void testInt64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint64ToUint2() { @@ -498,7 +498,7 @@ public void testUint64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint128ToUint2() { @@ -514,7 +514,7 @@ public void testUint128ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testFloat32ToUint2() { @@ -530,7 +530,7 @@ public void testFloat32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testCfloat32ToUint2() { @@ -546,7 +546,7 @@ public void testCfloat32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testFloat64ToUint2() { @@ -565,7 +565,7 @@ public void testFloat64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testCfloat64ToUint2() { @@ -581,7 +581,7 @@ public void testCfloat64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testBitToUint4() { @@ -594,7 +594,7 @@ public void testBitToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint2ToUint4() { @@ -607,7 +607,7 @@ public void testUint2ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint4ToUint4() { @@ -620,7 +620,7 @@ public void testUint4ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt8ToUint4() { @@ -636,7 +636,7 @@ public void testInt8ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint8ToUint4() { @@ -649,7 +649,7 @@ public void testUint8ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint12ToUint4() { @@ -662,7 +662,7 @@ public void testUint12ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt16ToUint4() { @@ -678,7 +678,7 @@ public void testInt16ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint16ToUint4() { @@ -691,7 +691,7 @@ public void testUint16ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt32ToUint4() { @@ -707,7 +707,7 @@ public void testInt32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint32ToUint4() { @@ -720,7 +720,7 @@ public void testUint32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt64ToUint4() { @@ -736,7 +736,7 @@ public void testInt64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint64ToUint4() { @@ -752,7 +752,7 @@ public void testUint64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint128ToUint4() { @@ -768,7 +768,7 @@ public void testUint128ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testFloat32ToUint4() { @@ -784,7 +784,7 @@ public void testFloat32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testCfloat32ToUint4() { @@ -800,7 +800,7 @@ public void testCfloat32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testFloat64ToUint4() { @@ -819,7 +819,7 @@ public void testFloat64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testCfloat64ToUint4() { @@ -835,7 +835,7 @@ public void testCfloat64ToUint4() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testBitToInt8() { @@ -848,7 +848,7 @@ public void testBitToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint2ToInt8() { @@ -861,7 +861,7 @@ public void testUint2ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint4ToInt8() { @@ -874,7 +874,7 @@ public void testUint4ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt8ToInt8() { @@ -890,7 +890,7 @@ public void testInt8ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint8ToInt8() { @@ -903,7 +903,7 @@ public void testUint8ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint12ToInt8() { @@ -916,7 +916,7 @@ public void testUint12ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt16ToInt8() { @@ -932,7 +932,7 @@ public void testInt16ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint16ToInt8() { @@ -945,7 +945,7 @@ public void testUint16ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt32ToInt8() { @@ -961,7 +961,7 @@ public void testInt32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint32ToInt8() { @@ -974,7 +974,7 @@ public void testUint32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt64ToInt8() { @@ -990,7 +990,7 @@ public void testInt64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint64ToInt8() { @@ -1006,7 +1006,7 @@ public void testUint64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint128ToInt8() { @@ -1022,7 +1022,7 @@ public void testUint128ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testFloat32ToInt8() { @@ -1038,7 +1038,7 @@ public void testFloat32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testCfloat32ToInt8() { @@ -1054,7 +1054,7 @@ public void testCfloat32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testFloat64ToInt8() { @@ -1073,7 +1073,7 @@ public void testFloat64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testCfloat64ToInt8() { @@ -1089,7 +1089,7 @@ public void testCfloat64ToInt8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testBitToUint8() { @@ -1102,7 +1102,7 @@ public void testBitToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint2ToUint8() { @@ -1115,7 +1115,7 @@ public void testUint2ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint4ToUint8() { @@ -1128,7 +1128,7 @@ public void testUint4ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt8ToUint8() { @@ -1144,7 +1144,7 @@ public void testInt8ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint8ToUint8() { @@ -1157,7 +1157,7 @@ public void testUint8ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint12ToUint8() { @@ -1170,7 +1170,7 @@ public void testUint12ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt16ToUint8() { @@ -1186,7 +1186,7 @@ public void testInt16ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint16ToUint8() { @@ -1199,7 +1199,7 @@ public void testUint16ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt32ToUint8() { @@ -1215,7 +1215,7 @@ public void testInt32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint32ToUint8() { @@ -1228,7 +1228,7 @@ public void testUint32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt64ToUint8() { @@ -1244,7 +1244,7 @@ public void testInt64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint64ToUint8() { @@ -1260,7 +1260,7 @@ public void testUint64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint128ToUint8() { @@ -1276,7 +1276,7 @@ public void testUint128ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testFloat32ToUint8() { @@ -1292,7 +1292,7 @@ public void testFloat32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testCfloat32ToUint8() { @@ -1308,7 +1308,7 @@ public void testCfloat32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testFloat64ToUint8() { @@ -1327,7 +1327,7 @@ public void testFloat64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testCfloat64ToUint8() { @@ -1343,7 +1343,7 @@ public void testCfloat64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testBitToUint12() { @@ -1356,7 +1356,7 @@ public void testBitToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint2ToUint12() { @@ -1369,7 +1369,7 @@ public void testUint2ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint4ToUint12() { @@ -1382,7 +1382,7 @@ public void testUint4ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt8ToUint12() { @@ -1398,7 +1398,7 @@ public void testInt8ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint8ToUint12() { @@ -1411,7 +1411,7 @@ public void testUint8ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint12ToUint12() { @@ -1424,7 +1424,7 @@ public void testUint12ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt16ToUint12() { @@ -1440,7 +1440,7 @@ public void testInt16ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint16ToUint12() { @@ -1453,7 +1453,7 @@ public void testUint16ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt32ToUint12() { @@ -1469,7 +1469,7 @@ public void testInt32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint32ToUint12() { @@ -1482,7 +1482,7 @@ public void testUint32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt64ToUint12() { @@ -1498,7 +1498,7 @@ public void testInt64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint64ToUint12() { @@ -1514,7 +1514,7 @@ public void testUint64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint128ToUint12() { @@ -1530,7 +1530,7 @@ public void testUint128ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testFloat32ToUint12() { @@ -1546,7 +1546,7 @@ public void testFloat32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testCfloat32ToUint12() { @@ -1562,7 +1562,7 @@ public void testCfloat32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testFloat64ToUint12() { @@ -1581,7 +1581,7 @@ public void testFloat64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testCfloat64ToUint12() { @@ -1597,7 +1597,7 @@ public void testCfloat64ToUint12() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testBitToInt16() { @@ -1610,7 +1610,7 @@ public void testBitToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint2ToInt16() { @@ -1623,7 +1623,7 @@ public void testUint2ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint4ToInt16() { @@ -1636,7 +1636,7 @@ public void testUint4ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt8ToInt16() { @@ -1652,7 +1652,7 @@ public void testInt8ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint8ToInt16() { @@ -1665,7 +1665,7 @@ public void testUint8ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint12ToInt16() { @@ -1678,7 +1678,7 @@ public void testUint12ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt16ToInt16() { @@ -1694,7 +1694,7 @@ public void testInt16ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint16ToInt16() { @@ -1707,7 +1707,7 @@ public void testUint16ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt32ToInt16() { @@ -1723,7 +1723,7 @@ public void testInt32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint32ToInt16() { @@ -1736,7 +1736,7 @@ public void testUint32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt64ToInt16() { @@ -1752,7 +1752,7 @@ public void testInt64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint64ToInt16() { @@ -1768,7 +1768,7 @@ public void testUint64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint128ToInt16() { @@ -1784,7 +1784,7 @@ public void testUint128ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testFloat32ToInt16() { @@ -1800,7 +1800,7 @@ public void testFloat32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testCfloat32ToInt16() { @@ -1816,7 +1816,7 @@ public void testCfloat32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testFloat64ToInt16() { @@ -1835,7 +1835,7 @@ public void testFloat64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testCfloat64ToInt16() { @@ -1851,7 +1851,7 @@ public void testCfloat64ToInt16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testBitToUint16() { @@ -1864,7 +1864,7 @@ public void testBitToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint2ToUint16() { @@ -1877,7 +1877,7 @@ public void testUint2ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint4ToUint16() { @@ -1890,7 +1890,7 @@ public void testUint4ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt8ToUint16() { @@ -1906,7 +1906,7 @@ public void testInt8ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint8ToUint16() { @@ -1919,7 +1919,7 @@ public void testUint8ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint12ToUint16() { @@ -1932,7 +1932,7 @@ public void testUint12ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt16ToUint16() { @@ -1948,7 +1948,7 @@ public void testInt16ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint16ToUint16() { @@ -1961,7 +1961,7 @@ public void testUint16ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt32ToUint16() { @@ -1977,7 +1977,7 @@ public void testInt32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint32ToUint16() { @@ -1990,7 +1990,7 @@ public void testUint32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt64ToUint16() { @@ -2006,7 +2006,7 @@ public void testInt64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint64ToUint16() { @@ -2022,7 +2022,7 @@ public void testUint64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint128ToUint16() { @@ -2038,7 +2038,7 @@ public void testUint128ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testFloat32ToUint16() { @@ -2054,7 +2054,7 @@ public void testFloat32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testCfloat32ToUint16() { @@ -2070,7 +2070,7 @@ public void testCfloat32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testFloat64ToUint16() { @@ -2089,7 +2089,7 @@ public void testFloat64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testCfloat64ToUint16() { @@ -2105,7 +2105,7 @@ public void testCfloat64ToUint16() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testBitToInt32() { @@ -2118,7 +2118,7 @@ public void testBitToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint2ToInt32() { @@ -2131,7 +2131,7 @@ public void testUint2ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint4ToInt32() { @@ -2144,7 +2144,7 @@ public void testUint4ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt8ToInt32() { @@ -2160,7 +2160,7 @@ public void testInt8ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint8ToInt32() { @@ -2173,7 +2173,7 @@ public void testUint8ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint12ToInt32() { @@ -2186,7 +2186,7 @@ public void testUint12ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt16ToInt32() { @@ -2202,7 +2202,7 @@ public void testInt16ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint16ToInt32() { @@ -2215,7 +2215,7 @@ public void testUint16ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt32ToInt32() { @@ -2231,7 +2231,7 @@ public void testInt32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint32ToInt32() { @@ -2244,7 +2244,7 @@ public void testUint32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt64ToInt32() { @@ -2260,7 +2260,7 @@ public void testInt64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint64ToInt32() { @@ -2276,7 +2276,7 @@ public void testUint64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint128ToInt32() { @@ -2292,7 +2292,7 @@ public void testUint128ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testFloat32ToInt32() { @@ -2308,7 +2308,7 @@ public void testFloat32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testCfloat32ToInt32() { @@ -2324,7 +2324,7 @@ public void testCfloat32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testFloat64ToInt32() { @@ -2343,7 +2343,7 @@ public void testFloat64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testCfloat64ToInt32() { @@ -2359,7 +2359,7 @@ public void testCfloat64ToInt32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testBitToUint32() { @@ -2372,7 +2372,7 @@ public void testBitToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint2ToUint32() { @@ -2385,7 +2385,7 @@ public void testUint2ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint4ToUint32() { @@ -2398,7 +2398,7 @@ public void testUint4ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt8ToUint32() { @@ -2414,7 +2414,7 @@ public void testInt8ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint8ToUint32() { @@ -2427,7 +2427,7 @@ public void testUint8ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint12ToUint32() { @@ -2440,7 +2440,7 @@ public void testUint12ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt16ToUint32() { @@ -2456,7 +2456,7 @@ public void testInt16ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint16ToUint32() { @@ -2469,7 +2469,7 @@ public void testUint16ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt32ToUint32() { @@ -2485,7 +2485,7 @@ public void testInt32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint32ToUint32() { @@ -2498,7 +2498,7 @@ public void testUint32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt64ToUint32() { @@ -2514,7 +2514,7 @@ public void testInt64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint64ToUint32() { @@ -2530,7 +2530,7 @@ public void testUint64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint128ToUint32() { @@ -2546,7 +2546,7 @@ public void testUint128ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testFloat32ToUint32() { @@ -2562,7 +2562,7 @@ public void testFloat32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testCfloat32ToUint32() { @@ -2578,7 +2578,7 @@ public void testCfloat32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testFloat64ToUint32() { @@ -2597,7 +2597,7 @@ public void testFloat64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testCfloat64ToUint32() { @@ -2613,7 +2613,7 @@ public void testCfloat64ToUint32() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testBitToInt64() { @@ -2626,7 +2626,7 @@ public void testBitToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint2ToInt64() { @@ -2639,7 +2639,7 @@ public void testUint2ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint4ToInt64() { @@ -2652,7 +2652,7 @@ public void testUint4ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt8ToInt64() { @@ -2668,7 +2668,7 @@ public void testInt8ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint8ToInt64() { @@ -2681,7 +2681,7 @@ public void testUint8ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint12ToInt64() { @@ -2694,7 +2694,7 @@ public void testUint12ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt16ToInt64() { @@ -2710,7 +2710,7 @@ public void testInt16ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint16ToInt64() { @@ -2723,7 +2723,7 @@ public void testUint16ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt32ToInt64() { @@ -2739,7 +2739,7 @@ public void testInt32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint32ToInt64() { @@ -2752,7 +2752,7 @@ public void testUint32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt64ToInt64() { @@ -2768,7 +2768,7 @@ public void testInt64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint64ToInt64() { @@ -2784,7 +2784,7 @@ public void testUint64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint128ToInt64() { @@ -2800,7 +2800,7 @@ public void testUint128ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testFloat32ToInt64() { @@ -2816,7 +2816,7 @@ public void testFloat32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testCfloat32ToInt64() { @@ -2832,7 +2832,7 @@ public void testCfloat32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testFloat64ToInt64() { @@ -2851,7 +2851,7 @@ public void testFloat64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testCfloat64ToInt64() { @@ -2867,7 +2867,7 @@ public void testCfloat64ToInt64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testBitToUint64() { @@ -2880,7 +2880,7 @@ public void testBitToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint2ToUint64() { @@ -2893,7 +2893,7 @@ public void testUint2ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint4ToUint64() { @@ -2906,7 +2906,7 @@ public void testUint4ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt8ToUint64() { @@ -2922,7 +2922,7 @@ public void testInt8ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint8ToUint64() { @@ -2935,7 +2935,7 @@ public void testUint8ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint12ToUint64() { @@ -2948,7 +2948,7 @@ public void testUint12ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt16ToUint64() { @@ -2964,7 +2964,7 @@ public void testInt16ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint16ToUint64() { @@ -2977,7 +2977,7 @@ public void testUint16ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt32ToUint64() { @@ -2993,7 +2993,7 @@ public void testInt32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint32ToUint64() { @@ -3006,7 +3006,7 @@ public void testUint32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt64ToUint64() { @@ -3022,7 +3022,7 @@ public void testInt64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint64ToUint64() { @@ -3038,7 +3038,7 @@ public void testUint64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint128ToUint64() { @@ -3054,7 +3054,7 @@ public void testUint128ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testFloat32ToUint64() { @@ -3070,7 +3070,7 @@ public void testFloat32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testCfloat32ToUint64() { @@ -3086,7 +3086,7 @@ public void testCfloat32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testFloat64ToUint64() { @@ -3105,7 +3105,7 @@ public void testFloat64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testCfloat64ToUint64() { @@ -3121,7 +3121,7 @@ public void testCfloat64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToUint128() { @@ -3134,7 +3134,7 @@ public void testBitToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToUint128() { @@ -3147,7 +3147,7 @@ public void testUint2ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToUint128() { @@ -3160,7 +3160,7 @@ public void testUint4ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToUint128() { @@ -3176,7 +3176,7 @@ public void testInt8ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToUint128() { @@ -3189,7 +3189,7 @@ public void testUint8ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToUint128() { @@ -3202,7 +3202,7 @@ public void testUint12ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToUint128() { @@ -3218,7 +3218,7 @@ public void testInt16ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToUint128() { @@ -3231,7 +3231,7 @@ public void testUint16ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToUint128() { @@ -3247,7 +3247,7 @@ public void testInt32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToUint128() { @@ -3260,7 +3260,7 @@ public void testUint32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToUint128() { @@ -3276,7 +3276,7 @@ public void testInt64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToUint128() { @@ -3292,7 +3292,7 @@ public void testUint64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToUint128() { @@ -3308,7 +3308,7 @@ public void testUint128ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToUint128() { @@ -3324,7 +3324,7 @@ public void testFloat32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToUint128() { @@ -3340,7 +3340,7 @@ public void testCfloat32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToUint128() { @@ -3359,7 +3359,7 @@ public void testFloat64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToUint128() { @@ -3375,7 +3375,7 @@ public void testCfloat64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToFloat32() { @@ -3388,7 +3388,7 @@ public void testBitToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToFloat32() { @@ -3401,7 +3401,7 @@ public void testUint2ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToFloat32() { @@ -3414,7 +3414,7 @@ public void testUint4ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToFloat32() { @@ -3430,7 +3430,7 @@ public void testInt8ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToFloat32() { @@ -3443,7 +3443,7 @@ public void testUint8ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToFloat32() { @@ -3456,7 +3456,7 @@ public void testUint12ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToFloat32() { @@ -3472,7 +3472,7 @@ public void testInt16ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToFloat32() { @@ -3485,7 +3485,7 @@ public void testUint16ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToFloat32() { @@ -3501,7 +3501,7 @@ public void testInt32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToFloat32() { @@ -3514,7 +3514,7 @@ public void testUint32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToFloat32() { @@ -3530,7 +3530,7 @@ public void testInt64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToFloat32() { @@ -3546,7 +3546,7 @@ public void testUint64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToFloat32() { @@ -3562,7 +3562,7 @@ public void testUint128ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToFloat32() { @@ -3578,7 +3578,7 @@ public void testFloat32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToFloat32() { @@ -3594,7 +3594,7 @@ public void testCfloat32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToFloat32() { @@ -3613,7 +3613,7 @@ public void testFloat64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToFloat32() { @@ -3629,7 +3629,7 @@ public void testCfloat64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToCfloat32() { @@ -3644,7 +3644,7 @@ public void testBitToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToCfloat32() { @@ -3659,7 +3659,7 @@ public void testUint2ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToCfloat32() { @@ -3674,7 +3674,7 @@ public void testUint4ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToCfloat32() { @@ -3693,7 +3693,7 @@ public void testInt8ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToCfloat32() { @@ -3708,7 +3708,7 @@ public void testUint8ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToCfloat32() { @@ -3723,7 +3723,7 @@ public void testUint12ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToCfloat32() { @@ -3742,7 +3742,7 @@ public void testInt16ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToCfloat32() { @@ -3757,7 +3757,7 @@ public void testUint16ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToCfloat32() { @@ -3776,7 +3776,7 @@ public void testInt32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToCfloat32() { @@ -3791,7 +3791,7 @@ public void testUint32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToCfloat32() { @@ -3810,7 +3810,7 @@ public void testInt64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToCfloat32() { @@ -3829,7 +3829,7 @@ public void testUint64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToCfloat32() { @@ -3848,7 +3848,7 @@ public void testUint128ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToCfloat32() { @@ -3867,7 +3867,7 @@ public void testFloat32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToCfloat32() { @@ -3886,7 +3886,7 @@ public void testCfloat32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToCfloat32() { @@ -3909,7 +3909,7 @@ public void testFloat64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToCfloat32() { @@ -3928,7 +3928,7 @@ public void testCfloat64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToFloat64() { @@ -3941,7 +3941,7 @@ public void testBitToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToFloat64() { @@ -3954,7 +3954,7 @@ public void testUint2ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToFloat64() { @@ -3967,7 +3967,7 @@ public void testUint4ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToFloat64() { @@ -3983,7 +3983,7 @@ public void testInt8ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToFloat64() { @@ -3996,7 +3996,7 @@ public void testUint8ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToFloat64() { @@ -4009,7 +4009,7 @@ public void testUint12ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToFloat64() { @@ -4025,7 +4025,7 @@ public void testInt16ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToFloat64() { @@ -4038,7 +4038,7 @@ public void testUint16ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToFloat64() { @@ -4054,7 +4054,7 @@ public void testInt32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToFloat64() { @@ -4067,7 +4067,7 @@ public void testUint32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToFloat64() { @@ -4083,7 +4083,7 @@ public void testInt64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToFloat64() { @@ -4099,7 +4099,7 @@ public void testUint64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToFloat64() { @@ -4115,7 +4115,7 @@ public void testUint128ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToFloat64() { @@ -4131,7 +4131,7 @@ public void testFloat32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToFloat64() { @@ -4147,7 +4147,7 @@ public void testCfloat32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToFloat64() { @@ -4166,7 +4166,7 @@ public void testFloat64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToFloat64() { @@ -4182,7 +4182,7 @@ public void testCfloat64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToCfloat64() { @@ -4197,7 +4197,7 @@ public void testBitToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToCfloat64() { @@ -4212,7 +4212,7 @@ public void testUint2ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToCfloat64() { @@ -4227,7 +4227,7 @@ public void testUint4ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToCfloat64() { @@ -4246,7 +4246,7 @@ public void testInt8ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToCfloat64() { @@ -4261,7 +4261,7 @@ public void testUint8ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToCfloat64() { @@ -4276,7 +4276,7 @@ public void testUint12ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToCfloat64() { @@ -4295,7 +4295,7 @@ public void testInt16ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToCfloat64() { @@ -4310,7 +4310,7 @@ public void testUint16ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToCfloat64() { @@ -4329,7 +4329,7 @@ public void testInt32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToCfloat64() { @@ -4344,7 +4344,7 @@ public void testUint32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToCfloat64() { @@ -4363,7 +4363,7 @@ public void testInt64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToCfloat64() { @@ -4382,7 +4382,7 @@ public void testUint64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToCfloat64() { @@ -4401,7 +4401,7 @@ public void testUint128ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToCfloat64() { @@ -4420,7 +4420,7 @@ public void testFloat32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToCfloat64() { @@ -4439,7 +4439,7 @@ public void testCfloat32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToCfloat64() { @@ -4462,7 +4462,7 @@ public void testFloat64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToCfloat64() { diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertImages.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertImages.java index 7ffcae8bc..75ca40ff5 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertImages.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertImages.java @@ -60,7 +60,7 @@ import org.junit.jupiter.api.Test; /** - * Tests the {@link ConvertTypes} ops. + * Tests the {@link ConvertComplexTypes} ops. * * @author Alison Walter */ @@ -73,7 +73,7 @@ public class TestConvertImages extends AbstractOpTest{ private final BigInteger p128 = new BigInteger("2CAFE0321BEEF0717BABE0929DEAD0311", 16); private final BigInteger n128 = new BigInteger("-482301498A285BFD0982EE7DE02398BC9080459284CCDE90E9F0D00C043981210481AAADEF2", 16); - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testBitToBit() { @@ -100,7 +100,7 @@ public void testBitToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint2ToBit() { @@ -127,7 +127,7 @@ public void testUint2ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint4ToBit() { @@ -154,7 +154,7 @@ public void testUint4ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt8ToBit() { @@ -189,7 +189,7 @@ public void testInt8ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint8ToBit() { @@ -216,7 +216,7 @@ public void testUint8ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint12ToBit() { @@ -243,7 +243,7 @@ public void testUint12ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt16ToBit() { @@ -278,7 +278,7 @@ public void testInt16ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint16ToBit() { @@ -305,7 +305,7 @@ public void testUint16ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt32ToBit() { @@ -340,7 +340,7 @@ public void testInt32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint32ToBit() { @@ -367,7 +367,7 @@ public void testUint32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testInt64ToBit() { @@ -402,7 +402,7 @@ public void testInt64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint64ToBit() { @@ -437,7 +437,7 @@ public void testUint64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testUint128ToBit() { @@ -472,7 +472,7 @@ public void testUint128ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testFloat32ToBit() { @@ -507,7 +507,7 @@ public void testFloat32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testCfloat32ToBit() { @@ -542,7 +542,7 @@ public void testCfloat32ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testFloat64ToBit() { @@ -585,7 +585,7 @@ public void testFloat64ToBit() { } - /** Tests {@link ConvertTypes#integerToBit}. */ + /** Tests {@link ConvertComplexTypes#integerToBit}. */ @Test public void testCfloat64ToBit() { @@ -620,7 +620,7 @@ public void testCfloat64ToBit() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testBitToUint2() { @@ -647,7 +647,7 @@ public void testBitToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint2ToUint2() { @@ -674,7 +674,7 @@ public void testUint2ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint4ToUint2() { @@ -701,7 +701,7 @@ public void testUint4ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt8ToUint2() { @@ -736,7 +736,7 @@ public void testInt8ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint8ToUint2() { @@ -763,7 +763,7 @@ public void testUint8ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint12ToUint2() { @@ -790,7 +790,7 @@ public void testUint12ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt16ToUint2() { @@ -825,7 +825,7 @@ public void testInt16ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint16ToUint2() { @@ -852,7 +852,7 @@ public void testUint16ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt32ToUint2() { @@ -887,7 +887,7 @@ public void testInt32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint32ToUint2() { @@ -914,7 +914,7 @@ public void testUint32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testInt64ToUint2() { @@ -949,7 +949,7 @@ public void testInt64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint64ToUint2() { @@ -984,7 +984,7 @@ public void testUint64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testUint128ToUint2() { @@ -1019,7 +1019,7 @@ public void testUint128ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testFloat32ToUint2() { @@ -1054,7 +1054,7 @@ public void testFloat32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testCfloat32ToUint2() { @@ -1089,7 +1089,7 @@ public void testCfloat32ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testFloat64ToUint2() { @@ -1132,7 +1132,7 @@ public void testFloat64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint2}. */ + /** Tests {@link ConvertComplexTypes#integerToUint2}. */ @Test public void testCfloat64ToUint2() { @@ -1167,7 +1167,7 @@ public void testCfloat64ToUint2() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testBitToUint4() { @@ -1194,7 +1194,7 @@ public void testBitToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint2ToUint4() { @@ -1221,7 +1221,7 @@ public void testUint2ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint4ToUint4() { @@ -1248,7 +1248,7 @@ public void testUint4ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt8ToUint4() { @@ -1283,7 +1283,7 @@ public void testInt8ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint8ToUint4() { @@ -1310,7 +1310,7 @@ public void testUint8ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint12ToUint4() { @@ -1337,7 +1337,7 @@ public void testUint12ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt16ToUint4() { @@ -1372,7 +1372,7 @@ public void testInt16ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint16ToUint4() { @@ -1399,7 +1399,7 @@ public void testUint16ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt32ToUint4() { @@ -1434,7 +1434,7 @@ public void testInt32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint32ToUint4() { @@ -1461,7 +1461,7 @@ public void testUint32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testInt64ToUint4() { @@ -1496,7 +1496,7 @@ public void testInt64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint64ToUint4() { @@ -1531,7 +1531,7 @@ public void testUint64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testUint128ToUint4() { @@ -1566,7 +1566,7 @@ public void testUint128ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testFloat32ToUint4() { @@ -1601,7 +1601,7 @@ public void testFloat32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testCfloat32ToUint4() { @@ -1636,7 +1636,7 @@ public void testCfloat32ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testFloat64ToUint4() { @@ -1679,7 +1679,7 @@ public void testFloat64ToUint4() { } - /** Tests {@link ConvertTypes#integerToUint4}. */ + /** Tests {@link ConvertComplexTypes#integerToUint4}. */ @Test public void testCfloat64ToUint4() { @@ -1714,7 +1714,7 @@ public void testCfloat64ToUint4() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testBitToInt8() { @@ -1741,7 +1741,7 @@ public void testBitToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint2ToInt8() { @@ -1768,7 +1768,7 @@ public void testUint2ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint4ToInt8() { @@ -1795,7 +1795,7 @@ public void testUint4ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt8ToInt8() { @@ -1830,7 +1830,7 @@ public void testInt8ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint8ToInt8() { @@ -1857,7 +1857,7 @@ public void testUint8ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint12ToInt8() { @@ -1884,7 +1884,7 @@ public void testUint12ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt16ToInt8() { @@ -1919,7 +1919,7 @@ public void testInt16ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint16ToInt8() { @@ -1946,7 +1946,7 @@ public void testUint16ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt32ToInt8() { @@ -1981,7 +1981,7 @@ public void testInt32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint32ToInt8() { @@ -2008,7 +2008,7 @@ public void testUint32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testInt64ToInt8() { @@ -2043,7 +2043,7 @@ public void testInt64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint64ToInt8() { @@ -2078,7 +2078,7 @@ public void testUint64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testUint128ToInt8() { @@ -2113,7 +2113,7 @@ public void testUint128ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testFloat32ToInt8() { @@ -2148,7 +2148,7 @@ public void testFloat32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testCfloat32ToInt8() { @@ -2183,7 +2183,7 @@ public void testCfloat32ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testFloat64ToInt8() { @@ -2226,7 +2226,7 @@ public void testFloat64ToInt8() { } - /** Tests {@link ConvertTypes#integerToInt8}. */ + /** Tests {@link ConvertComplexTypes#integerToInt8}. */ @Test public void testCfloat64ToInt8() { @@ -2261,7 +2261,7 @@ public void testCfloat64ToInt8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testBitToUint8() { @@ -2288,7 +2288,7 @@ public void testBitToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint2ToUint8() { @@ -2315,7 +2315,7 @@ public void testUint2ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint4ToUint8() { @@ -2342,7 +2342,7 @@ public void testUint4ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt8ToUint8() { @@ -2377,7 +2377,7 @@ public void testInt8ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint8ToUint8() { @@ -2404,7 +2404,7 @@ public void testUint8ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint12ToUint8() { @@ -2431,7 +2431,7 @@ public void testUint12ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt16ToUint8() { @@ -2466,7 +2466,7 @@ public void testInt16ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint16ToUint8() { @@ -2493,7 +2493,7 @@ public void testUint16ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt32ToUint8() { @@ -2528,7 +2528,7 @@ public void testInt32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint32ToUint8() { @@ -2555,7 +2555,7 @@ public void testUint32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testInt64ToUint8() { @@ -2590,7 +2590,7 @@ public void testInt64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint64ToUint8() { @@ -2625,7 +2625,7 @@ public void testUint64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testUint128ToUint8() { @@ -2660,7 +2660,7 @@ public void testUint128ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testFloat32ToUint8() { @@ -2695,7 +2695,7 @@ public void testFloat32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testCfloat32ToUint8() { @@ -2730,7 +2730,7 @@ public void testCfloat32ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testFloat64ToUint8() { @@ -2773,7 +2773,7 @@ public void testFloat64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint8}. */ + /** Tests {@link ConvertComplexTypes#integerToUint8}. */ @Test public void testCfloat64ToUint8() { @@ -2808,7 +2808,7 @@ public void testCfloat64ToUint8() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testBitToUint12() { @@ -2835,7 +2835,7 @@ public void testBitToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint2ToUint12() { @@ -2862,7 +2862,7 @@ public void testUint2ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint4ToUint12() { @@ -2889,7 +2889,7 @@ public void testUint4ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt8ToUint12() { @@ -2924,7 +2924,7 @@ public void testInt8ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint8ToUint12() { @@ -2951,7 +2951,7 @@ public void testUint8ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint12ToUint12() { @@ -2978,7 +2978,7 @@ public void testUint12ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt16ToUint12() { @@ -3013,7 +3013,7 @@ public void testInt16ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint16ToUint12() { @@ -3040,7 +3040,7 @@ public void testUint16ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt32ToUint12() { @@ -3075,7 +3075,7 @@ public void testInt32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint32ToUint12() { @@ -3102,7 +3102,7 @@ public void testUint32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testInt64ToUint12() { @@ -3137,7 +3137,7 @@ public void testInt64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint64ToUint12() { @@ -3172,7 +3172,7 @@ public void testUint64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testUint128ToUint12() { @@ -3207,7 +3207,7 @@ public void testUint128ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testFloat32ToUint12() { @@ -3242,7 +3242,7 @@ public void testFloat32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testCfloat32ToUint12() { @@ -3277,7 +3277,7 @@ public void testCfloat32ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testFloat64ToUint12() { @@ -3320,7 +3320,7 @@ public void testFloat64ToUint12() { } - /** Tests {@link ConvertTypes#integerToUint12}. */ + /** Tests {@link ConvertComplexTypes#integerToUint12}. */ @Test public void testCfloat64ToUint12() { @@ -3355,7 +3355,7 @@ public void testCfloat64ToUint12() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testBitToInt16() { @@ -3382,7 +3382,7 @@ public void testBitToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint2ToInt16() { @@ -3409,7 +3409,7 @@ public void testUint2ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint4ToInt16() { @@ -3436,7 +3436,7 @@ public void testUint4ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt8ToInt16() { @@ -3471,7 +3471,7 @@ public void testInt8ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint8ToInt16() { @@ -3498,7 +3498,7 @@ public void testUint8ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint12ToInt16() { @@ -3525,7 +3525,7 @@ public void testUint12ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt16ToInt16() { @@ -3560,7 +3560,7 @@ public void testInt16ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint16ToInt16() { @@ -3587,7 +3587,7 @@ public void testUint16ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt32ToInt16() { @@ -3622,7 +3622,7 @@ public void testInt32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint32ToInt16() { @@ -3649,7 +3649,7 @@ public void testUint32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testInt64ToInt16() { @@ -3684,7 +3684,7 @@ public void testInt64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint64ToInt16() { @@ -3719,7 +3719,7 @@ public void testUint64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testUint128ToInt16() { @@ -3754,7 +3754,7 @@ public void testUint128ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testFloat32ToInt16() { @@ -3789,7 +3789,7 @@ public void testFloat32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testCfloat32ToInt16() { @@ -3824,7 +3824,7 @@ public void testCfloat32ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testFloat64ToInt16() { @@ -3867,7 +3867,7 @@ public void testFloat64ToInt16() { } - /** Tests {@link ConvertTypes#integerToInt16}. */ + /** Tests {@link ConvertComplexTypes#integerToInt16}. */ @Test public void testCfloat64ToInt16() { @@ -3902,7 +3902,7 @@ public void testCfloat64ToInt16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testBitToUint16() { @@ -3929,7 +3929,7 @@ public void testBitToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint2ToUint16() { @@ -3956,7 +3956,7 @@ public void testUint2ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint4ToUint16() { @@ -3983,7 +3983,7 @@ public void testUint4ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt8ToUint16() { @@ -4018,7 +4018,7 @@ public void testInt8ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint8ToUint16() { @@ -4045,7 +4045,7 @@ public void testUint8ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint12ToUint16() { @@ -4072,7 +4072,7 @@ public void testUint12ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt16ToUint16() { @@ -4107,7 +4107,7 @@ public void testInt16ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint16ToUint16() { @@ -4134,7 +4134,7 @@ public void testUint16ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt32ToUint16() { @@ -4169,7 +4169,7 @@ public void testInt32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint32ToUint16() { @@ -4196,7 +4196,7 @@ public void testUint32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testInt64ToUint16() { @@ -4231,7 +4231,7 @@ public void testInt64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint64ToUint16() { @@ -4266,7 +4266,7 @@ public void testUint64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testUint128ToUint16() { @@ -4301,7 +4301,7 @@ public void testUint128ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testFloat32ToUint16() { @@ -4336,7 +4336,7 @@ public void testFloat32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testCfloat32ToUint16() { @@ -4371,7 +4371,7 @@ public void testCfloat32ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testFloat64ToUint16() { @@ -4414,7 +4414,7 @@ public void testFloat64ToUint16() { } - /** Tests {@link ConvertTypes#integerToUint16}. */ + /** Tests {@link ConvertComplexTypes#integerToUint16}. */ @Test public void testCfloat64ToUint16() { @@ -4449,7 +4449,7 @@ public void testCfloat64ToUint16() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testBitToInt32() { @@ -4476,7 +4476,7 @@ public void testBitToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint2ToInt32() { @@ -4503,7 +4503,7 @@ public void testUint2ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint4ToInt32() { @@ -4530,7 +4530,7 @@ public void testUint4ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt8ToInt32() { @@ -4565,7 +4565,7 @@ public void testInt8ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint8ToInt32() { @@ -4592,7 +4592,7 @@ public void testUint8ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint12ToInt32() { @@ -4619,7 +4619,7 @@ public void testUint12ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt16ToInt32() { @@ -4654,7 +4654,7 @@ public void testInt16ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint16ToInt32() { @@ -4681,7 +4681,7 @@ public void testUint16ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt32ToInt32() { @@ -4716,7 +4716,7 @@ public void testInt32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint32ToInt32() { @@ -4743,7 +4743,7 @@ public void testUint32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testInt64ToInt32() { @@ -4778,7 +4778,7 @@ public void testInt64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint64ToInt32() { @@ -4813,7 +4813,7 @@ public void testUint64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testUint128ToInt32() { @@ -4848,7 +4848,7 @@ public void testUint128ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testFloat32ToInt32() { @@ -4883,7 +4883,7 @@ public void testFloat32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testCfloat32ToInt32() { @@ -4918,7 +4918,7 @@ public void testCfloat32ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testFloat64ToInt32() { @@ -4961,7 +4961,7 @@ public void testFloat64ToInt32() { } - /** Tests {@link ConvertTypes#integerToInt32}. */ + /** Tests {@link ConvertComplexTypes#integerToInt32}. */ @Test public void testCfloat64ToInt32() { @@ -4996,7 +4996,7 @@ public void testCfloat64ToInt32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testBitToUint32() { @@ -5023,7 +5023,7 @@ public void testBitToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint2ToUint32() { @@ -5050,7 +5050,7 @@ public void testUint2ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint4ToUint32() { @@ -5077,7 +5077,7 @@ public void testUint4ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt8ToUint32() { @@ -5112,7 +5112,7 @@ public void testInt8ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint8ToUint32() { @@ -5139,7 +5139,7 @@ public void testUint8ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint12ToUint32() { @@ -5166,7 +5166,7 @@ public void testUint12ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt16ToUint32() { @@ -5201,7 +5201,7 @@ public void testInt16ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint16ToUint32() { @@ -5228,7 +5228,7 @@ public void testUint16ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt32ToUint32() { @@ -5263,7 +5263,7 @@ public void testInt32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint32ToUint32() { @@ -5290,7 +5290,7 @@ public void testUint32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testInt64ToUint32() { @@ -5325,7 +5325,7 @@ public void testInt64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint64ToUint32() { @@ -5360,7 +5360,7 @@ public void testUint64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testUint128ToUint32() { @@ -5395,7 +5395,7 @@ public void testUint128ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testFloat32ToUint32() { @@ -5430,7 +5430,7 @@ public void testFloat32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testCfloat32ToUint32() { @@ -5465,7 +5465,7 @@ public void testCfloat32ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testFloat64ToUint32() { @@ -5508,7 +5508,7 @@ public void testFloat64ToUint32() { } - /** Tests {@link ConvertTypes#integerToUint32}. */ + /** Tests {@link ConvertComplexTypes#integerToUint32}. */ @Test public void testCfloat64ToUint32() { @@ -5543,7 +5543,7 @@ public void testCfloat64ToUint32() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testBitToInt64() { @@ -5570,7 +5570,7 @@ public void testBitToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint2ToInt64() { @@ -5597,7 +5597,7 @@ public void testUint2ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint4ToInt64() { @@ -5624,7 +5624,7 @@ public void testUint4ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt8ToInt64() { @@ -5659,7 +5659,7 @@ public void testInt8ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint8ToInt64() { @@ -5686,7 +5686,7 @@ public void testUint8ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint12ToInt64() { @@ -5713,7 +5713,7 @@ public void testUint12ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt16ToInt64() { @@ -5748,7 +5748,7 @@ public void testInt16ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint16ToInt64() { @@ -5775,7 +5775,7 @@ public void testUint16ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt32ToInt64() { @@ -5810,7 +5810,7 @@ public void testInt32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint32ToInt64() { @@ -5837,7 +5837,7 @@ public void testUint32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testInt64ToInt64() { @@ -5872,7 +5872,7 @@ public void testInt64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint64ToInt64() { @@ -5907,7 +5907,7 @@ public void testUint64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testUint128ToInt64() { @@ -5942,7 +5942,7 @@ public void testUint128ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testFloat32ToInt64() { @@ -5977,7 +5977,7 @@ public void testFloat32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testCfloat32ToInt64() { @@ -6012,7 +6012,7 @@ public void testCfloat32ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testFloat64ToInt64() { @@ -6055,7 +6055,7 @@ public void testFloat64ToInt64() { } - /** Tests {@link ConvertTypes#integerToInt64}. */ + /** Tests {@link ConvertComplexTypes#integerToInt64}. */ @Test public void testCfloat64ToInt64() { @@ -6090,7 +6090,7 @@ public void testCfloat64ToInt64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testBitToUint64() { @@ -6117,7 +6117,7 @@ public void testBitToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint2ToUint64() { @@ -6144,7 +6144,7 @@ public void testUint2ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint4ToUint64() { @@ -6171,7 +6171,7 @@ public void testUint4ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt8ToUint64() { @@ -6206,7 +6206,7 @@ public void testInt8ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint8ToUint64() { @@ -6233,7 +6233,7 @@ public void testUint8ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint12ToUint64() { @@ -6260,7 +6260,7 @@ public void testUint12ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt16ToUint64() { @@ -6295,7 +6295,7 @@ public void testInt16ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint16ToUint64() { @@ -6322,7 +6322,7 @@ public void testUint16ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt32ToUint64() { @@ -6357,7 +6357,7 @@ public void testInt32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint32ToUint64() { @@ -6384,7 +6384,7 @@ public void testUint32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testInt64ToUint64() { @@ -6419,7 +6419,7 @@ public void testInt64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint64ToUint64() { @@ -6454,7 +6454,7 @@ public void testUint64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testUint128ToUint64() { @@ -6489,7 +6489,7 @@ public void testUint128ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testFloat32ToUint64() { @@ -6524,7 +6524,7 @@ public void testFloat32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testCfloat32ToUint64() { @@ -6559,7 +6559,7 @@ public void testCfloat32ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testFloat64ToUint64() { @@ -6602,7 +6602,7 @@ public void testFloat64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint64}. */ + /** Tests {@link ConvertComplexTypes#integerToUint64}. */ @Test public void testCfloat64ToUint64() { @@ -6637,7 +6637,7 @@ public void testCfloat64ToUint64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToUint128() { @@ -6664,7 +6664,7 @@ public void testBitToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToUint128() { @@ -6691,7 +6691,7 @@ public void testUint2ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToUint128() { @@ -6718,7 +6718,7 @@ public void testUint4ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToUint128() { @@ -6753,7 +6753,7 @@ public void testInt8ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToUint128() { @@ -6780,7 +6780,7 @@ public void testUint8ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToUint128() { @@ -6807,7 +6807,7 @@ public void testUint12ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToUint128() { @@ -6842,7 +6842,7 @@ public void testInt16ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToUint128() { @@ -6869,7 +6869,7 @@ public void testUint16ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToUint128() { @@ -6904,7 +6904,7 @@ public void testInt32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToUint128() { @@ -6931,7 +6931,7 @@ public void testUint32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToUint128() { @@ -6966,7 +6966,7 @@ public void testInt64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToUint128() { @@ -7001,7 +7001,7 @@ public void testUint64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToUint128() { @@ -7036,7 +7036,7 @@ public void testUint128ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToUint128() { @@ -7071,7 +7071,7 @@ public void testFloat32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToUint128() { @@ -7106,7 +7106,7 @@ public void testCfloat32ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToUint128() { @@ -7149,7 +7149,7 @@ public void testFloat64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToUint128() { @@ -7184,7 +7184,7 @@ public void testCfloat64ToUint128() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToFloat32() { @@ -7211,7 +7211,7 @@ public void testBitToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToFloat32() { @@ -7238,7 +7238,7 @@ public void testUint2ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToFloat32() { @@ -7265,7 +7265,7 @@ public void testUint4ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToFloat32() { @@ -7300,7 +7300,7 @@ public void testInt8ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToFloat32() { @@ -7327,7 +7327,7 @@ public void testUint8ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToFloat32() { @@ -7354,7 +7354,7 @@ public void testUint12ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToFloat32() { @@ -7389,7 +7389,7 @@ public void testInt16ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToFloat32() { @@ -7416,7 +7416,7 @@ public void testUint16ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToFloat32() { @@ -7451,7 +7451,7 @@ public void testInt32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToFloat32() { @@ -7478,7 +7478,7 @@ public void testUint32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToFloat32() { @@ -7513,7 +7513,7 @@ public void testInt64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToFloat32() { @@ -7548,7 +7548,7 @@ public void testUint64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToFloat32() { @@ -7583,7 +7583,7 @@ public void testUint128ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToFloat32() { @@ -7618,7 +7618,7 @@ public void testFloat32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToFloat32() { @@ -7653,7 +7653,7 @@ public void testCfloat32ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToFloat32() { @@ -7696,7 +7696,7 @@ public void testFloat64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToFloat32() { @@ -7731,7 +7731,7 @@ public void testCfloat64ToFloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToCfloat32() { @@ -7760,7 +7760,7 @@ public void testBitToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToCfloat32() { @@ -7789,7 +7789,7 @@ public void testUint2ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToCfloat32() { @@ -7818,7 +7818,7 @@ public void testUint4ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToCfloat32() { @@ -7856,7 +7856,7 @@ public void testInt8ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToCfloat32() { @@ -7885,7 +7885,7 @@ public void testUint8ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToCfloat32() { @@ -7914,7 +7914,7 @@ public void testUint12ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToCfloat32() { @@ -7952,7 +7952,7 @@ public void testInt16ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToCfloat32() { @@ -7981,7 +7981,7 @@ public void testUint16ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToCfloat32() { @@ -8019,7 +8019,7 @@ public void testInt32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToCfloat32() { @@ -8048,7 +8048,7 @@ public void testUint32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToCfloat32() { @@ -8086,7 +8086,7 @@ public void testInt64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToCfloat32() { @@ -8124,7 +8124,7 @@ public void testUint64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToCfloat32() { @@ -8162,7 +8162,7 @@ public void testUint128ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToCfloat32() { @@ -8200,7 +8200,7 @@ public void testFloat32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToCfloat32() { @@ -8238,7 +8238,7 @@ public void testCfloat32ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToCfloat32() { @@ -8285,7 +8285,7 @@ public void testFloat64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToCfloat32() { @@ -8323,7 +8323,7 @@ public void testCfloat64ToCfloat32() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToFloat64() { @@ -8350,7 +8350,7 @@ public void testBitToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToFloat64() { @@ -8377,7 +8377,7 @@ public void testUint2ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToFloat64() { @@ -8404,7 +8404,7 @@ public void testUint4ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToFloat64() { @@ -8439,7 +8439,7 @@ public void testInt8ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToFloat64() { @@ -8466,7 +8466,7 @@ public void testUint8ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToFloat64() { @@ -8493,7 +8493,7 @@ public void testUint12ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToFloat64() { @@ -8528,7 +8528,7 @@ public void testInt16ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToFloat64() { @@ -8555,7 +8555,7 @@ public void testUint16ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToFloat64() { @@ -8590,7 +8590,7 @@ public void testInt32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToFloat64() { @@ -8617,7 +8617,7 @@ public void testUint32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToFloat64() { @@ -8652,7 +8652,7 @@ public void testInt64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToFloat64() { @@ -8687,7 +8687,7 @@ public void testUint64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToFloat64() { @@ -8722,7 +8722,7 @@ public void testUint128ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToFloat64() { @@ -8757,7 +8757,7 @@ public void testFloat32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToFloat64() { @@ -8792,7 +8792,7 @@ public void testCfloat32ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToFloat64() { @@ -8835,7 +8835,7 @@ public void testFloat64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToFloat64() { @@ -8870,7 +8870,7 @@ public void testCfloat64ToFloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testBitToCfloat64() { @@ -8899,7 +8899,7 @@ public void testBitToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint2ToCfloat64() { @@ -8928,7 +8928,7 @@ public void testUint2ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint4ToCfloat64() { @@ -8957,7 +8957,7 @@ public void testUint4ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt8ToCfloat64() { @@ -8995,7 +8995,7 @@ public void testInt8ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint8ToCfloat64() { @@ -9024,7 +9024,7 @@ public void testUint8ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint12ToCfloat64() { @@ -9053,7 +9053,7 @@ public void testUint12ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt16ToCfloat64() { @@ -9091,7 +9091,7 @@ public void testInt16ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint16ToCfloat64() { @@ -9120,7 +9120,7 @@ public void testUint16ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt32ToCfloat64() { @@ -9158,7 +9158,7 @@ public void testInt32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint32ToCfloat64() { @@ -9187,7 +9187,7 @@ public void testUint32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testInt64ToCfloat64() { @@ -9225,7 +9225,7 @@ public void testInt64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint64ToCfloat64() { @@ -9263,7 +9263,7 @@ public void testUint64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testUint128ToCfloat64() { @@ -9301,7 +9301,7 @@ public void testUint128ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat32ToCfloat64() { @@ -9339,7 +9339,7 @@ public void testFloat32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat32ToCfloat64() { @@ -9377,7 +9377,7 @@ public void testCfloat32ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testFloat64ToCfloat64() { @@ -9424,7 +9424,7 @@ public void testFloat64ToCfloat64() { } - /** Tests {@link ConvertTypes#integerToUint128}. */ + /** Tests {@link ConvertComplexTypes#integerToUint128}. */ @Test public void testCfloat64ToCfloat64() { diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java similarity index 98% rename from scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java rename to scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java index 78fae9005..ba1ca9fea 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertRealTypeNumbers.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java @@ -36,7 +36,7 @@ import org.junit.jupiter.api.Test; import org.scijava.ops.image.AbstractOpTest; -public class TestConvertRealTypeNumbers extends AbstractOpTest { +public class TestConvertNumbersToRealTypes extends AbstractOpTest { public static final Class[] REAL_TYPES = { ByteType.class, diff --git a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.list b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.list similarity index 99% rename from scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.list rename to scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.list index d24034ff2..0704eae88 100644 --- a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.list +++ b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.list @@ -1,6 +1,6 @@ # Unit tests for convert ops -[TestConvertType.java] +[TestConvertComplexTypes.java] biv = ``` [ [name: "p64", v: 'new BigInteger("AEF234567ABCD123", 16)'], diff --git a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.vm b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.vm similarity index 94% rename from scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.vm rename to scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.vm index ce0000ca6..6d855a56f 100644 --- a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertType.vm +++ b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertComplexTypes.vm @@ -32,11 +32,11 @@ import net.imglib2.type.numeric.real.DoubleType; import net.imglib2.type.numeric.real.FloatType; /** - * Tests the {@link ConvertTypes} ops. + * Tests the {@link ConvertComplexTypes} ops. * * @author Alison Walter */ -public class TestConvertType extends AbstractOpTest{ +public class TestConvertComplexTypes extends AbstractOpTest{ #foreach ($bi in $biv) private final BigInteger $bi.name = $bi.v; @@ -54,9 +54,9 @@ public class TestConvertType extends AbstractOpTest{ #end #foreach ($fromType in $types) #if ($fromType.built.contains("float") || $toType.built.contains("float")) -#set ($jdocName = "ConvertTypes#complexTo$toType.op") +#set ($jdocName = "ConvertComplexTypes#complexTo$toType.op") #else -#set ($className = "ConvertTypes#integerTo$toType.op") +#set ($className = "ConvertComplexTypes#integerTo$toType.op") #end #set ($imgLibType2 = "$fromType.imglibT" + "Type") #set ($first = "true") diff --git a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertImages.vm b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertImages.vm index b65786aed..3154d3237 100644 --- a/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertImages.vm +++ b/scijava-ops-image/templates/test/java/org/scijava/ops/image/convert/TestConvertImages.vm @@ -32,7 +32,7 @@ import net.imglib2.type.numeric.real.FloatType; import org.junit.jupiter.api.Test; /** - * Tests the {@link ConvertTypes} ops. + * Tests the {@link ConvertComplexTypes} ops. * * @author Alison Walter */ @@ -54,9 +54,9 @@ public class TestConvertImages extends AbstractOpTest{ #end #foreach ($fromType in $types) #if ($fromType.built.contains("float") || $toType.built.contains("float")) -#set ($jdocName = "ConvertTypes#complexTo$toType.op") +#set ($jdocName = "ConvertComplexTypes#complexTo$toType.op") #else -#set ($className = "ConvertTypes#integerTo$toType.op") +#set ($className = "ConvertComplexTypes#integerTo$toType.op") #end #set ($imgLibType2 = "$fromType.imglibT" + "Type") #set ($first = "true") From eb1b6e1f253150f9f887bcc1b1dc985a200c55b9 Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Fri, 7 Feb 2025 11:38:32 -0600 Subject: [PATCH 5/6] Add a few missing convert ops --- .../convert/ConvertNumbersToRealTypes.java | 18 +++++++++++++++++- .../scijava/ops/image/OpRegressionTest.java | 2 +- .../convert/TestConvertNumbersToRealTypes.java | 3 +++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java index 91520913b..9bc07a0e7 100644 --- a/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java +++ b/scijava-ops-image/src/main/java/org/scijava/ops/image/convert/ConvertNumbersToRealTypes.java @@ -58,7 +58,7 @@ public class ConvertNumbersToRealTypes, /** * @input num the {@link Number} to convert * @output a {@link UnsignedByteType} containing the information in {@code num} - * @implNote op names='engine.convert, convert.int8' + * @implNote op names='engine.convert, convert.uint8' */ public final Function numberToUnsignedByteType = // num -> new UnsignedByteType(num.shortValue()); @@ -71,6 +71,14 @@ public class ConvertNumbersToRealTypes, public final Function numberToShortType = // num -> new ShortType(num.shortValue()); + /** + * @input num the {@link Number} to convert + * @output a {@link UnsignedShortType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.uint16' + */ + public final Function numberToUnsignedShortType = // + num -> new UnsignedShortType(num.intValue()); + /** * @input num the {@link Number} to convert * @output a {@link IntType} containing the information in {@code num} @@ -79,6 +87,14 @@ public class ConvertNumbersToRealTypes, public final Function numberToIntType = // num -> new IntType(num.intValue()); + /** + * @input num the {@link Number} to convert + * @output a {@link UnsignedIntType} containing the information in {@code num} + * @implNote op names='engine.convert, convert.uint32' + */ + public final Function numberToUnsignedIntType = // + num -> new UnsignedIntType(num.longValue()); + /** * @input num the {@link Number} to convert * @output a {@link LongType} containing the information in {@code num} diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java index 5628029b0..d35e934a6 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/OpRegressionTest.java @@ -42,7 +42,7 @@ public class OpRegressionTest { @Test public void testOpDiscoveryRegression() { - long expected = 1962; + long expected = 1964; long actual = ops.infos().size(); assertEquals(expected, actual); } diff --git a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java index ba1ca9fea..0290fed2f 100644 --- a/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java +++ b/scijava-ops-image/src/test/java/org/scijava/ops/image/convert/TestConvertNumbersToRealTypes.java @@ -40,8 +40,11 @@ public class TestConvertNumbersToRealTypes extends AbstractOpTest { public static final Class[] REAL_TYPES = { ByteType.class, + UnsignedByteType.class, ShortType.class, + UnsignedShortType.class, IntType.class, + UnsignedIntType.class, LongType.class, FloatType.class, DoubleType.class From f26748d43ba0617b8009903a1daceaa3e381088a Mon Sep 17 00:00:00 2001 From: Gabriel Selzer Date: Fri, 7 Feb 2025 13:11:04 -0600 Subject: [PATCH 6/6] Add comment about Any work It's tough to find a good comment for this, because the comment belongs in SciJava Common3 but a persuasive argument requires discussion beyond the scope of that project. For now, a disclaimer will do. --- .../src/main/java/org/scijava/common3/Types.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scijava-common3/src/main/java/org/scijava/common3/Types.java b/scijava-common3/src/main/java/org/scijava/common3/Types.java index 0e40f7831..f750006e1 100644 --- a/scijava-common3/src/main/java/org/scijava/common3/Types.java +++ b/scijava-common3/src/main/java/org/scijava/common3/Types.java @@ -1379,6 +1379,21 @@ else if (!isAssignable(fromResolved == null ? fromTypeArg TypeVariable to = (TypeVariable) toTypeVarAssigns.get(var); Type from = fromTypeVarAssigns.get(var); if (from == null) { + // IMPORTANT: Understanding the Any bounds are very important + // here for understanding type variable bounds ACROSS + // isAssignable calls. This happens often in SciJava Ops, to which + // the following description pertains: + // + // Suppose we ask for a + // Function , hoping to match some + // Computers.Arity1, O extends RealType> via + // adaptation. Adapation requires (1) the underlying Computers.Arity1 + // Op, but also (2) some way to generate the output (in practice, either a + // Function or a Producer). If there are no bounds on + // the Any, then we can get incorrect matches, such as a Producer, + // which would produce an object unsuitable for the Computers.Arity1 op + // being adapted. Therefore it is necessary to attach bounds on the Any (as + // an example, an Any bounded by RealType) to ensure correct matching. from = new Any(to.getBounds()); } typeVarAssigns.put(to, from);