ModeTest
extends TestCase
in package
FinalYes
Mode coverage test
Table of Contents
Methods
- getLengthBitsForVersionBreakpoints() : void
- Tests the version breakpoints for numeric mode
- getLengthBitsForVersionInvalidModeException() : void
- getLengthBitsForVersionInvalidVersionException() : void
Methods
getLengthBitsForVersionBreakpoints()
Tests the version breakpoints for numeric mode
public
getLengthBitsForVersionBreakpoints(int $version, int $expected) : void
Parameters
- $version : int
- $expected : int
Attributes
- #[Test]
- #[TestWith]
- [1, 10]
- '10 low'
- #[TestWith]
- [9, 10]
- '10 high'
- #[TestWith]
- [10, 12]
- '12 low'
- #[TestWith]
- [26, 12]
- '12 high'
- #[TestWith]
- [27, 14]
- '14 low'
- #[TestWith]
- [40, 14]
- '14 high'
getLengthBitsForVersionInvalidModeException()
public
getLengthBitsForVersionInvalidModeException() : void
Attributes
- #[Test]
getLengthBitsForVersionInvalidVersionException()
public
getLengthBitsForVersionInvalidVersionException() : void
Attributes
- #[Test]