blob: 993131b14ea46439689449539809c1d528fabe55 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
success("BoolTrue") {
value = MyBool{
value: true,
},
bytes = {
v2 = [
0x01, padding:7,
],
},
}
success("BoolFalse") {
value = MyBool{
value: false,
},
bytes = {
v2 = [
0x00, padding:7,
],
},
}
decode_failure("BadInvalidBoolean") {
type = MyBool,
bytes = {
v2 = [
0x10, padding:7,
],
},
err = INVALID_BOOLEAN,
}