Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3750915
D2275.id5731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
651 B
Referenced Files
None
Subscribers
None
D2275.id5731.diff
View Options
diff --git a/tests/Identifiers/RandomTest.php b/tests/Identifiers/RandomTest.php
--- a/tests/Identifiers/RandomTest.php
+++ b/tests/Identifiers/RandomTest.php
@@ -8,6 +8,10 @@
class RandomTest extends TestCase {
+ ///
+ /// Tests
+ ///
+
public function testGenerateHexadecimalHash () : void {
$hash = Random::generateHexHash();
@@ -36,6 +40,10 @@
$this->assertRegExp($re, $string);
}
+ ///
+ /// Data providers
+ ///
+
public function provideRandomStringFormats() : iterable {
yield ["AAA111", "/^[A-Z]{3}[0-9]{3}$/", 6];
yield ["AAA123", "/^[A-Z]{3}[0-9]{3}$/", 6];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 04:43 (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250133
Default Alt Text
D2275.id5731.diff (651 B)
Attached To
Mode
D2275: Organize tests
Attached
Detach File
Event Timeline
Log In to Comment