forked from brianvoe/gofakeit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathword_adjective_test.go
150 lines (125 loc) · 2.56 KB
/
word_adjective_test.go
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
package gofakeit
import (
"fmt"
"testing"
)
func ExampleAdjective() {
Seed(11)
fmt.Println(Adjective())
// Output: Dutch
}
func ExampleFaker_Adjective() {
f := New(11)
fmt.Println(f.Adjective())
// Output: Dutch
}
func BenchmarkAdjective(b *testing.B) {
for i := 0; i < b.N; i++ {
Adjective()
}
}
func ExampleAdjectiveDescriptive() {
Seed(11)
fmt.Println(AdjectiveDescriptive())
// Output: brave
}
func ExampleFaker_AdjectiveDescriptive() {
f := New(11)
fmt.Println(f.AdjectiveDescriptive())
// Output: brave
}
func BenchmarkAdjectiveDescriptive(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveDescriptive()
}
}
func ExampleAdjectiveQuantitative() {
Seed(11)
fmt.Println(AdjectiveQuantitative())
// Output: a little
}
func ExampleFaker_AdjectiveQuantitative() {
f := New(11)
fmt.Println(f.AdjectiveQuantitative())
// Output: a little
}
func BenchmarkAdjectiveQuantitative(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveQuantitative()
}
}
func ExampleAdjectiveProper() {
Seed(11)
fmt.Println(AdjectiveProper())
// Output: Afghan
}
func ExampleFaker_AdjectiveProper() {
f := New(11)
fmt.Println(f.AdjectiveProper())
// Output: Afghan
}
func BenchmarkAdjectiveProper(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveProper()
}
}
func ExampleAdjectiveDemonstrative() {
Seed(11)
fmt.Println(AdjectiveDemonstrative())
// Output: this
}
func ExampleFaker_AdjectiveDemonstrative() {
f := New(11)
fmt.Println(f.AdjectiveDemonstrative())
// Output: this
}
func BenchmarkAdjectiveDemonstrative(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveDemonstrative()
}
}
func ExampleAdjectivePossessive() {
Seed(11)
fmt.Println(AdjectivePossessive())
// Output: our
}
func ExampleFaker_AdjectivePossessive() {
f := New(11)
fmt.Println(f.AdjectivePossessive())
// Output: our
}
func BenchmarkAdjectivePossessive(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectivePossessive()
}
}
func ExampleAdjectiveInterrogative() {
Seed(11)
fmt.Println(AdjectiveInterrogative())
// Output: what
}
func ExampleFaker_AdjectiveInterrogative() {
f := New(11)
fmt.Println(f.AdjectiveInterrogative())
// Output: what
}
func BenchmarkAdjectiveInterrogative(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveInterrogative()
}
}
func ExampleAdjectiveIndefinite() {
Seed(11)
fmt.Println(AdjectiveIndefinite())
// Output: few
}
func ExampleFaker_AdjectiveIndefinite() {
f := New(11)
fmt.Println(f.AdjectiveIndefinite())
// Output: few
}
func BenchmarkAdjectiveIndefinite(b *testing.B) {
for i := 0; i < b.N; i++ {
AdjectiveIndefinite()
}
}