From 09a9c8ea19c4b7584d2f94061714686969b16b18 Mon Sep 17 00:00:00 2001 From: "Johnny X. Lemonade" Date: Wed, 9 Oct 2024 10:43:26 +0200 Subject: [PATCH] Update DEFormatterTest.php --- tests/Formatter/DEFormatterTest.php | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/tests/Formatter/DEFormatterTest.php b/tests/Formatter/DEFormatterTest.php index 5338dda..1cfeb94 100644 --- a/tests/Formatter/DEFormatterTest.php +++ b/tests/Formatter/DEFormatterTest.php @@ -36,6 +36,52 @@ public function providerFormat() : array ['ABCD', null], ['ABCDE', null], ['ABCDEF', null], + + // invalid + ['010101', null], + ['000000', null], + ['(123456)', null], + ['!23456', null], + ['412345', null], + ['567890', null], + ['4A1234', null], + ['132045', null], + ['00001', null], + ['05234', null], + ['02131', null], + ['62000', null], + ['43000', null], + + // valid + ['01234','01234'], + ['04123','04123'], + ['06123','06123'], + ['07123', '07123'], + ['08123', '08123'], + ['09123', '09123'], + ['18888', '18888'], + ['38888', '38888'], + ['58888', '58888'], + ['78888', '78888'], + ['88888', '88888'], + ['99999', '99999'], + ['40123', '40123'], + ['42123', '42123'], + ['44123', '44123'], + ['46123', '46123'], + ['47123', '47123'], + ['48123', '48123'], + ['49123', '49123'], + ['60123', '60123'], + ['61123', '61123'], + ['63123', '63123'], + ['64123', '64123'], + ['65123', '65123'], + ['66123', '66123'], + ['67123', '67123'], + ['68123', '68123'], + ['69123', '69123'], + ]; } }