view test/classes/@SizeTester/size.m @ 27096:deb0273199a2 stable

maint: Make old style class tests Matlab compatible. * test/classes/@Gork/subsasgn.m: Add missing "end". * test/classes/@Gork/subsref.m: Add missing "end". * test/classes/@SizeTester/numel.m: Replace "endfunction" by "end". * test/classes/@SizeTester/size.m: Replace "endfunction" by "end". * test/classes/@SizeTester/SizeTester.m: Replace "endfunction" by "end". * test/classes/@Snork/end.m: Replace "!=" by "~=". * test/classes/@Snork/mpower.m: Replace "!" by "~". * test/classes/@Snork/ne.m: Replace "!" by "~". * test/classes/@Snork/power.m: Replace "!" by "~". * test/classes/@Snork/subsasgn.m: Replace "!=" by "~=". * test/classes/@Snork/subsref.m: Replace "!=" by "~=". * test/classes/@Spork/loadobj.m: Replace "!" by "~". * test/classes/classes.tst: Replace "!" and "!= by "~" and "!=", use Matlab style comments only, new (c)transpose tests. * test/classes/@Snork/ctranspose.m: New class method. * test/classes/@Snork/transpose.m: New class method. * test/classes/module.mk: Add new class methods to test suite.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 20 May 2019 09:40:56 +0200
parents ef9b2a88fbb5
children
line wrap: on
line source

function s = size (this)

  s = this.desired_size;

end