mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 03:15:04 +00:00
First commit of Fortran version of GildedRose
This commit is contained in:
1 parent
efb82954a7
commit
eaa731bb83
5 files changed
+306
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user