| de.mcs.jmeasurement.test.MCSTestCase
All known Subclasses: de.mcs.jmeasurement.test.UserDataStoreTest, de.mcs.jmeasurement.test.proxy.ProxyTest, de.mcs.jmeasurement.test.IncrementTime100Test, de.mcs.jmeasurement.test.DefaultMeasurePointTest, de.mcs.jmeasurement.test.DefaultMonitorTest,
MCSTestCase | public class MCSTestCase extends TestCase (Code) | | This is an extension for the JUnit framework. It can be used for a check
values between a range.
author: w.klaas |
Method Summary | |
public static void | assertBetween(long min, long max, long value) Checks if a value is between a range, including both edges. | public static boolean | assertBetween(int min, int max, int value) Checks if a value is between a range, including both edges. | public static boolean | assertBetween(short min, short max, short value) Checks if a value is between a range, including both edges. | public static boolean | assertBetween(byte min, byte max, byte value) Checks if a value is between a range, including both edges. | public static boolean | assertBetween(float min, float max, float value) Checks if a value is between a range, including both edges. | public static boolean | assertBetween(double min, double max, double value) Checks if a value is between a range, including both edges. |
assertBetween | public static void assertBetween(long min, long max, long value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check |
assertBetween | public static boolean assertBetween(int min, int max, int value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check true if the value is between the min and max, orfalse if not. |
assertBetween | public static boolean assertBetween(short min, short max, short value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check true if the value is between the min and max, orfalse if not. |
assertBetween | public static boolean assertBetween(byte min, byte max, byte value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check true if the value is between the min and max, orfalse if not. |
assertBetween | public static boolean assertBetween(float min, float max, float value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check true if the value is between the min and max, orfalse if not. |
assertBetween | public static boolean assertBetween(double min, double max, double value)(Code) | | Checks if a value is between a range, including both edges.
Parameters: min - minimal value Parameters: max - maximal value Parameters: value - the value to check true if the value is between the min and max, orfalse if not. |
|
|