@@ -7,191 +7,191 @@ import (
77)
88
99func TestOddInt (t * testing.T ) {
10- r := OddInt (11 )
10+ r := OddIntWht (11 )
1111 if ! r {
12- t .Errorf ("OddInt failed. Expected=true, actual=false" )
12+ t .Errorf ("OddIntWht failed. Expected=true, actual=false" )
1313 t .Errorf (reflect .String .String ())
1414 }
1515
16- r = OddInt (2 )
16+ r = OddIntWht (2 )
1717 if r {
18- t .Errorf ("OddInt failed. Expected=false, actual=true" )
18+ t .Errorf ("OddIntWht failed. Expected=false, actual=true" )
1919 }
2020
2121 var three int = 3
22- rPtr := OddIntPtr (& three )
22+ rPtr := OddIntWhtPtr (& three )
2323 if ! rPtr {
24- t .Errorf ("OddIntPtr failed. Expected=true, actual=false" )
24+ t .Errorf ("OddIntWhtPtr failed. Expected=true, actual=false" )
2525 }
2626}
2727
2828func TestOddInt64 (t * testing.T ) {
29- r := OddInt64 (11 )
29+ r := OddInt64Wht (11 )
3030 if ! r {
31- t .Errorf ("OddInt64 failed. Expected=true, actual=false" )
31+ t .Errorf ("OddInt64Wht failed. Expected=true, actual=false" )
3232 t .Errorf (reflect .String .String ())
3333 }
3434
35- r = OddInt64 (2 )
35+ r = OddInt64Wht (2 )
3636 if r {
37- t .Errorf ("OddInt64 failed. Expected=false, actual=true" )
37+ t .Errorf ("OddInt64Wht failed. Expected=false, actual=true" )
3838 }
3939
4040 var three int64 = 3
41- rPtr := OddInt64Ptr (& three )
41+ rPtr := OddInt64WhtPtr (& three )
4242 if ! rPtr {
43- t .Errorf ("OddInt64Ptr failed. Expected=true, actual=false" )
43+ t .Errorf ("OddInt64WhtPtr failed. Expected=true, actual=false" )
4444 }
4545}
4646
4747func TestOddInt32 (t * testing.T ) {
48- r := OddInt32 (11 )
48+ r := OddInt32Wht (11 )
4949 if ! r {
50- t .Errorf ("OddInt32 failed. Expected=true, actual=false" )
50+ t .Errorf ("OddInt32Wht failed. Expected=true, actual=false" )
5151 t .Errorf (reflect .String .String ())
5252 }
5353
54- r = OddInt32 (2 )
54+ r = OddInt32Wht (2 )
5555 if r {
56- t .Errorf ("OddInt32 failed. Expected=false, actual=true" )
56+ t .Errorf ("OddInt32Wht failed. Expected=false, actual=true" )
5757 }
5858
5959 var three int32 = 3
60- rPtr := OddInt32Ptr (& three )
60+ rPtr := OddInt32WhtPtr (& three )
6161 if ! rPtr {
62- t .Errorf ("OddInt32Ptr failed. Expected=true, actual=false" )
62+ t .Errorf ("OddInt32WhtPtr failed. Expected=true, actual=false" )
6363 }
6464}
6565
6666func TestOddInt16 (t * testing.T ) {
67- r := OddInt16 (11 )
67+ r := OddInt16Wht (11 )
6868 if ! r {
69- t .Errorf ("OddInt16 failed. Expected=true, actual=false" )
69+ t .Errorf ("OddInt16Wht failed. Expected=true, actual=false" )
7070 t .Errorf (reflect .String .String ())
7171 }
7272
73- r = OddInt16 (2 )
73+ r = OddInt16Wht (2 )
7474 if r {
75- t .Errorf ("OddInt16 failed. Expected=false, actual=true" )
75+ t .Errorf ("OddInt16Wht failed. Expected=false, actual=true" )
7676 }
7777
7878 var three int16 = 3
79- rPtr := OddInt16Ptr (& three )
79+ rPtr := OddInt16WhtPtr (& three )
8080 if ! rPtr {
81- t .Errorf ("OddInt16Ptr failed. Expected=true, actual=false" )
81+ t .Errorf ("OddInt16WhtPtr failed. Expected=true, actual=false" )
8282 }
8383}
8484
8585func TestOddInt8 (t * testing.T ) {
86- r := OddInt8 (11 )
86+ r := OddInt8Wht (11 )
8787 if ! r {
88- t .Errorf ("OddInt8 failed. Expected=true, actual=false" )
88+ t .Errorf ("OddInt8Wht failed. Expected=true, actual=false" )
8989 t .Errorf (reflect .String .String ())
9090 }
9191
92- r = OddInt8 (2 )
92+ r = OddInt8Wht (2 )
9393 if r {
94- t .Errorf ("OddInt8 failed. Expected=false, actual=true" )
94+ t .Errorf ("OddInt8Wht failed. Expected=false, actual=true" )
9595 }
9696
9797 var three int8 = 3
98- rPtr := OddInt8Ptr (& three )
98+ rPtr := OddInt8WhtPtr (& three )
9999 if ! rPtr {
100- t .Errorf ("OddInt8Ptr failed. Expected=true, actual=false" )
100+ t .Errorf ("OddInt8WhtPtr failed. Expected=true, actual=false" )
101101 }
102102}
103103
104104func TestOddUint (t * testing.T ) {
105- r := OddUint (11 )
105+ r := OddUintWht (11 )
106106 if ! r {
107- t .Errorf ("OddUint failed. Expected=true, actual=false" )
107+ t .Errorf ("OddUintWht failed. Expected=true, actual=false" )
108108 t .Errorf (reflect .String .String ())
109109 }
110110
111- r = OddUint (2 )
111+ r = OddUintWht (2 )
112112 if r {
113- t .Errorf ("OddUint failed. Expected=false, actual=true" )
113+ t .Errorf ("OddUintWht failed. Expected=false, actual=true" )
114114 }
115115
116116 var three uint = 3
117- rPtr := OddUintPtr (& three )
117+ rPtr := OddUintWhtPtr (& three )
118118 if ! rPtr {
119- t .Errorf ("OddUintPtr failed. Expected=true, actual=false" )
119+ t .Errorf ("OddUintWhtPtr failed. Expected=true, actual=false" )
120120 }
121121}
122122
123123func TestOddUint64 (t * testing.T ) {
124- r := OddUint64 (11 )
124+ r := OddUint64Wht (11 )
125125 if ! r {
126- t .Errorf ("OddUint64 failed. Expected=true, actual=false" )
126+ t .Errorf ("OddUint64Wht failed. Expected=true, actual=false" )
127127 t .Errorf (reflect .String .String ())
128128 }
129129
130- r = OddUint64 (2 )
130+ r = OddUint64Wht (2 )
131131 if r {
132- t .Errorf ("OddUint64 failed. Expected=false, actual=true" )
132+ t .Errorf ("OddUint64Wht failed. Expected=false, actual=true" )
133133 }
134134
135135 var three uint64 = 3
136- rPtr := OddUint64Ptr (& three )
136+ rPtr := OddUint64WhtPtr (& three )
137137 if ! rPtr {
138- t .Errorf ("OddUint64Ptr failed. Expected=true, actual=false" )
138+ t .Errorf ("OddUint64WhtPtr failed. Expected=true, actual=false" )
139139 }
140140}
141141
142142func TestOddUint32 (t * testing.T ) {
143- r := OddUint32 (11 )
143+ r := OddUint32Wht (11 )
144144 if ! r {
145- t .Errorf ("OddUint32 failed. Expected=true, actual=false" )
145+ t .Errorf ("OddUint32Wht failed. Expected=true, actual=false" )
146146 t .Errorf (reflect .String .String ())
147147 }
148148
149- r = OddUint32 (2 )
149+ r = OddUint32Wht (2 )
150150 if r {
151- t .Errorf ("OddUint32 failed. Expected=false, actual=true" )
151+ t .Errorf ("OddUint32Wht failed. Expected=false, actual=true" )
152152 }
153153
154154 var three uint32 = 3
155- rPtr := OddUint32Ptr (& three )
155+ rPtr := OddUint32WhtPtr (& three )
156156 if ! rPtr {
157- t .Errorf ("OddUint32Ptr failed. Expected=true, actual=false" )
157+ t .Errorf ("OddUint32WhtPtr failed. Expected=true, actual=false" )
158158 }
159159}
160160
161161func TestOddUint16 (t * testing.T ) {
162- r := OddUint16 (11 )
162+ r := OddUint16Wht (11 )
163163 if ! r {
164- t .Errorf ("OddUint16 failed. Expected=true, actual=false" )
164+ t .Errorf ("OddUint16Wht failed. Expected=true, actual=false" )
165165 t .Errorf (reflect .String .String ())
166166 }
167167
168- r = OddUint16 (2 )
168+ r = OddUint16Wht (2 )
169169 if r {
170- t .Errorf ("OddUint16 failed. Expected=false, actual=true" )
170+ t .Errorf ("OddUint16Wht failed. Expected=false, actual=true" )
171171 }
172172
173173 var three uint16 = 3
174- rPtr := OddUint16Ptr (& three )
174+ rPtr := OddUint16WhtPtr (& three )
175175 if ! rPtr {
176- t .Errorf ("OddUint16Ptr failed. Expected=true, actual=false" )
176+ t .Errorf ("OddUint16WhtPtr failed. Expected=true, actual=false" )
177177 }
178178}
179179
180180func TestOddUint8 (t * testing.T ) {
181- r := OddUint8 (11 )
181+ r := OddUint8Wht (11 )
182182 if ! r {
183- t .Errorf ("OddUint8 failed. Expected=true, actual=false" )
183+ t .Errorf ("OddUint8Wht failed. Expected=true, actual=false" )
184184 t .Errorf (reflect .String .String ())
185185 }
186186
187- r = OddUint8 (2 )
187+ r = OddUint8Wht (2 )
188188 if r {
189- t .Errorf ("OddUint8 failed. Expected=false, actual=true" )
189+ t .Errorf ("OddUint8Wht failed. Expected=false, actual=true" )
190190 }
191191
192192 var three uint8 = 3
193- rPtr := OddUint8Ptr (& three )
193+ rPtr := OddUint8WhtPtr (& three )
194194 if ! rPtr {
195- t .Errorf ("OddUint8Ptr failed. Expected=true, actual=false" )
195+ t .Errorf ("OddUint8WhtPtr failed. Expected=true, actual=false" )
196196 }
197197}
0 commit comments