1 | svoid test_DateAttractor_ymd() { |
2 | test_DateAttractor_ymd("let's met on 2020/5/3", "2020/5/3", "2020/05/03"); |
3 | } |
4 | |
5 | svoid test_DateAttractor_ymd(S input, S matched, S ymd) { |
6 | DateAttractor_ymd a = cast getSingleton(pAttractor_allMatches2(new DateAttractor_ymd, javaTok(input))); |
7 | assertEqualsVerbose(matched, a.matchedString()); |
8 | assertEqualsVerbose(ymd, a.ymd); |
9 | } |
Began life as a copy of #1022881
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022884 |
Snippet name: | test_DateAttractor_ymd |
Eternal ID of this version: | #1022884/1 |
Text MD5: | 3bdf232ab1f30af336c76364c317d8c3 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-12 18:14:14 |
Source code size: | 372 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 239 / 285 |
Referenced in: | [show references] |