-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf1e6bf
commit 8913e59
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# constructors | ||
@test allequal([ | ||
Golub(5), | ||
Golub{Float64}(5), | ||
]) | ||
|
||
# linear algebra functions | ||
test_linearalgrbra_functions(Golub.(1:5)) | ||
|
||
# eltype | ||
@test test_matrix_elements(Golub{Int32}(5)) | ||
|
||
# content | ||
@test Golub(5) ≈ [1.0 -12.059392205936174 -0.010465350557232633 7.317239602093354 -14.08806425045688; -2.2496850802760484 28.129834722891875 -4.172651248786176 -26.542279985765383 25.12451193149186; 11.072255235326002 -138.58620819434586 22.12333253812682 141.1394714314565 -120.7085677675904; 2.0022829883980857 -3.3531693476211615 -86.38096436992623 -185.84514253414142 -146.35427551650628; -7.9683155345021275 88.11144478734175 37.742511109441665 64.48389833213189 247.7662740813908] |