What a shame! I shouldn't be so inattentive! Sorry, you are completely right!
2018-11-11 16:57 GMT-02:00, leledumbo via fpc-pascal
:
>> acording example I found in FPC examples directory,
>
> Check the one here instead:
> $(fpcsrcdir)/packages/fcl-fpcunit/src/demo/consolerunner/testrunner.pp
> It
> acording example I found in FPC examples directory,
Check the one here instead:
$(fpcsrcdir)/packages/fcl-fpcunit/src/demo/consolerunner/testrunner.pp
It depends only on FPC units. I guess you're looking at examples from
Lazarus directory instead of FPC.
--
Sent from: http://free-pascal-gene
Hello hall,
I am blind, so I don't use Lazarus. In pure Freepascal, I tried to run
an example test:
program tester;
{$mode objfpc}{$H+}
uses
fpcunit, testregistry;
type
TMyTest = class(TTestCase)
published
procedure TestSomething;
end;
procedure TMyTest.TestSomething;
begin
AssertEquals(1, 1);