note description: "Interaction of two medications." author: "Jackie Wang" class interface INTERACTION create make feature -- Queries first: MEDICATION second: MEDICATION feature -- Constructor make (fst, snd: MEDICATION) -- Initialize an interaction between 'fst' and 'snd'. ensure first ~ fst second ~ snd feature -- Equality is_equal (other: like Current): BOOLEAN -- Are current interaction equal to 'other'? end -- class INTERACTION
Generated by ISE EiffelStudio