2
// Copyright (c) 2011 Linaro Limited
4
// All rights reserved. This program and the accompanying materials
5
// are made available under the terms of the MIT License which accompanies
6
// this distribution, and is available at
7
// http://www.opensource.org/licenses/mit-license.php
10
// Jesse Barker - original implementation.
13
#include "libmatrix_test.h"
14
#include "const_vec_test.h"
17
using LibMatrix::vec2;
18
using LibMatrix::vec3;
19
using LibMatrix::vec4;
24
Vec2TestConstOperator::run(const Options& options)
26
const vec2 a(1.0, 1.0);
27
const vec2 b(2.0, 2.0);
37
Vec3TestConstOperator::run(const Options& options)
39
const vec3 a(1.0, 1.0, 1.0);
40
const vec3 b(2.0, 2.0, 2.0);
50
Vec4TestConstOperator::run(const Options& options)
52
const vec4 a(1.0, 1.0, 1.0, 1.0);
53
const vec4 b(2.0, 2.0, 2.0, 2.0);