-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhacker_test.go
More file actions
78 lines (65 loc) · 1.23 KB
/
hacker_test.go
File metadata and controls
78 lines (65 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package gofaker
import (
"fmt"
"testing"
)
func ExampleHackerPhrase() {
Seed(11)
fmt.Println(HackerPhrase())
// Output: If we calculate the program, we can get to the AI pixel through the redundant XSS matrix!
}
func BenchmarkHackerPhrase(b *testing.B) {
for i := 0; i < b.N; i++ {
HackerPhrase()
}
}
func ExampleHackerAbbreviation() {
Seed(11)
fmt.Println(HackerAbbreviation())
// Output: ADP
}
func BenchmarkHackerAbbreviation(b *testing.B) {
for i := 0; i < b.N; i++ {
HackerAbbreviation()
}
}
func ExampleHackerAdjective() {
Seed(11)
fmt.Println(HackerAdjective())
// Output: wireless
}
func BenchmarkHackerAdjective(b *testing.B) {
for i := 0; i < b.N; i++ {
HackerAdjective()
}
}
func ExampleHackerNoun() {
Seed(11)
fmt.Println(HackerNoun())
// Output: driver
}
func BenchmarkHackerNoun(b *testing.B) {
for i := 0; i < b.N; i++ {
HackerNoun()
}
}
func ExampleHackerVerb() {
Seed(11)
fmt.Println(HackerVerb())
// Output: synthesize
}
func BenchmarkHackerVerb(b *testing.B) {
for i := 0; i < b.N; i++ {
HackerVerb()
}
}
func ExampleHackeringVerb() {
Seed(11)
fmt.Println(HackeringVerb())
// Output: connecting
}
func BenchmarkHackeringVerb(b *testing.B) {
for i := 0; i < b.N; i++ {
HackeringVerb()
}
}