Home | History | Annotate | Download | only in test

Lines Matching refs:assert

11 func assert(cond bool, msg string) {
79 assert(x == 0, "x")
80 assert(y == 1, "y")
81 assert(z == 4, "z")
82 assert(f == 6.0, "f")
83 assert(g == 18.0, "g")
85 assert(X == 0, "X")
86 assert(Y == 0, "Y")
87 assert(Z == 0, "Z")
89 assert(A == 1, "A")
90 assert(B == 2, "B")
91 assert(C == 4, "C")
92 assert(D == 8, "D")
93 assert(E == 16, "E")
94 assert(F == 25, "F")
96 assert(a == 1, "a")
97 assert(b == 2, "b")
98 assert(c == 8, "c")
99 assert(d == 12, "d")
101 assert(i == 1, "i")
102 assert(j == 4, "j")
103 assert(k == 8, "k")
104 assert(l == 14, "l")
106 assert(m, "m")
107 assert(!n, "n")
109 assert(p == 0.0, "p")
110 assert(q == 1.0, "q")
111 assert(r == 2.0, "r")
113 assert(s == "a", "s")
114 assert(t == "b", "t")
116 assert(abit == 1, "abit")
117 assert(amask == 0, "amask")
118 assert(bbit == 2, "bbit")
119 assert(bmask == 1, "bmask")
120 assert(cbit == 4, "cbit")
121 assert(cmask == 3, "cmask")