First commit of Fortran version of GildedRose

This commit is contained in:
Peter M. Clausen committed 2021-05-25 19:52:50 +02:00
1 parent efb82954a7
commit eaa731bb83
5 files changed
+306

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
program GildedRose_texttest
use GildedRose
implicit none
type(Item) :: it
call init_item(it, "foo", 10, 20)
if (trim(it%name) /= "foo" ) then
write(*,*) "ERRORUnity test Failed"
stop 1
else
write(*,*) "Unity test OK"
endif
end program