source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_sameobject.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 263 bytes
Line 
1function test_sameobject
2% Result should be 1 in both cases below.
3
4a = rand(4);
5b = a;
6if sameobject(a,b) ~= 1
7  error('failed');
8end
9if helper(a,a) ~= 1
10  error('failed');
11end
12disp('Test passed.')
13
14function x = helper(a,b)
15
16x = sameobject(a,b);
Note: See TracBrowser for help on using the repository browser.