|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This report was generated with an evaluation server license. Purchase Clover or configure your license. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReadKeyTest | Line # 10 | 5 | 1 | 0% |
0.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | package alitest; | |
| 2 | ||
| 3 | import fi.jyu.mit.ohj2.*; | |
| 4 | ||
| 5 | /** | |
| 6 | * Testataan ReadKey-luokkaa | |
| 7 | * @author vesal | |
| 8 | * | |
| 9 | */ | |
| 10 | public class ReadKeyTest { | |
| 11 | ||
| 12 | /** | |
| 13 | * Testataan IO-uokan aliohjelmia | |
| 14 | * @param args | |
| 15 | */ | |
| 16 | 0 |
public static void main(String args[]) { |
| 17 | 0 | String s = Syotto.kysy("Anna jono","Kissa"); |
| 18 | 0 | System.out.println("Jono = " + s); |
| 19 | 0 | System.out.print("Paina (k/e)"); |
| 20 | 0 | boolean b = IO.kylla_vastaus(); |
| 21 | 0 | System.out.println("Tuli valittua: "+b); |
| 22 | } | |
| 23 | } | |
|
||||||||||