blob: 627c4d4f6927853626652c1c238e1398478f527a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
DEF_TEST(Cpp11, r) {
auto square = [](int x){ return x*x; };
REPORTER_ASSERT(r, square(4) == 16);
}
|