blob: 5b95cc5c22c1926c28283ca550a3bf4b095057a0 [file] [log] [blame]
// Copyright 2016 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.
#include "src/lib/fxl/arraysize.h"
#include "gtest/gtest.h"
namespace fxl {
namespace {
TEST(ArraySize, Control) {
int numbers[] = {1, 2, 3};
EXPECT_EQ(3u, arraysize(numbers));
}
} // namespace
} // namespace fxl