Test  Status  Code Input and Output 

1  Pass 
a = [1 0];
b = [0 1];
expected=pi/2;
theta = solve_included_vector_angle(a,b)
assert(0.99*expected.001<=theta && theta<=expected*1.01+.001 )
% Is there a better way to allow tolerances?
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In solve_included_vector_angle (line 2)
In ScoringEngineTestPoint1 (line 4)
In solutionTest (line 3)]
theta =
0

2  Pass 
a = [1 1 0];
b = [1 1 2^0.5];
expected=pi/4;
theta = solve_included_vector_angle(a,b)
assert(0.99*expected.001<=theta && theta<=expected*1.01+.001 )
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In solve_included_vector_angle (line 2)
In ScoringEngineTestPoint2 (line 4)
In solutionTest (line 5)]
theta =
0

3  Pass 
a = [2 2];
b = [0 1];
expected=pi/4;
theta = solve_included_vector_angle(a,b)
assert(0.99*expected.001<=theta && theta<=expected*1.01+.001 )
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In solve_included_vector_angle (line 2)
In ScoringEngineTestPoint3 (line 4)
In solutionTest (line 7)]
theta =
0

4  Pass 
a = [1 1];
b = [4 0];
expected=0.75*pi;
theta = solve_included_vector_angle(a,b)
assert(0.99*expected.001<=theta && theta<=expected*1.01+.001 )
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In solve_included_vector_angle (line 2)
In ScoringEngineTestPoint4 (line 4)
In solutionTest (line 9)]
theta =
0

5  Pass 
a = [1 2 3];
b = [1 2 4];
expected=0.161*pi;
theta = solve_included_vector_angle(a,b)
assert(0.99*expected.001<=theta && theta<=expected*1.01+.001 )
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In solve_included_vector_angle (line 2)
In ScoringEngineTestPoint5 (line 4)
In solutionTest (line 11)]
theta =
0

543 Solvers
given 3 sides, find area of this triangle
600 Solvers
Back to basics 23  Triangular matrix
532 Solvers
Sum the numbers on the main diagonal
375 Solvers
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
613 Solvers