(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestRandomStringDigits(t *testing.T) { |
| 56 | t.Log("TestRandomStringDigits") |
| 57 | |
| 58 | if len(StringNumber(2, "-")) != 5 { |
| 59 | t.Fatal("Wrong length returned") |
| 60 | } |
| 61 | |
| 62 | if len(StringNumber(2, "")) != 4 { |
| 63 | t.Fatal("Wrong length returned") |
| 64 | } |
| 65 | |
| 66 | if len(StringNumberExt(3, "/", 3)) != 11 { |
| 67 | t.Fatal("Wrong length returned") |
| 68 | } |
| 69 | |
| 70 | if len(StringNumberExt(3, "", 3)) != 9 { |
| 71 | t.Fatal("Wrong length returned") |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | func TestFirstName(t *testing.T) { |
| 76 | t.Log("TestFirstName") |
nothing calls this directly
no test coverage detected
searching dependent graphs…