File: test_1560-builder-options.cpp

package info (click to toggle)
python-awkward 2.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 23,088 kB
  • sloc: python: 148,689; cpp: 33,562; sh: 432; makefile: 21; javascript: 8
file content (14 lines) | stat: -rw-r--r-- 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE

#include "awkward/BuilderOptions.h"
#include <cassert>

int main(int /* argc */, char ** /* argv */) {

  awkward::BuilderOptions options(1024, 1.0);

  assert(options.initial() == 1024);
  assert(options.resize() == 1.0);

  return 0;
}