This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init: | |
Deleting: /Users/Usagi-chan/NetBeansProjects/k2012-ohja/kesken-XXX.Tiedostonnaytin/build/built-jar.properties | |
deps-jar: | |
Updating property file: /Users/Usagi-chan/NetBeansProjects/k2012-ohja/kesken-XXX.Tiedostonnaytin/build/built-jar.properties | |
compile: | |
compile-test: | |
Testsuite: TiedostonnaytinTest | |
Tests r | |
Test TiedostonnaytinTest FAILED | |
test-report: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kysely; | |
import java.awt.BorderLayout; | |
import java.awt.Component; | |
import java.awt.Container; | |
import java.awt.Dimension; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.util.Collection; | |
import javax.swing.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package nopeustesti; | |
import java.awt.Container; | |
import java.awt.GridLayout; | |
import java.awt.event.ActionEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import org.junit.Rule; | |
import static org.junit.Assert.*; | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.MockStdio; | |
@Points("1") | |
public class KuusiTest { | |
@Rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import org.junit.Rule; | |
import static org.junit.Assert.*; | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.MockStdio; | |
@Points("1") | |
public class TervehtijaTest { | |
@Rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import org.junit.Rule; | |
import static org.junit.Assert.*; | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.MockStdio; | |
@Points("1") | |
public class LukujenSummaTest { | |
@Rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import org.junit.Rule; | |
import static org.junit.Assert.*; | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.MockStdio; | |
@Points("1.5") | |
public class NimenToistaminenTest { | |
@Rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.ReflectionUtils; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Method; | |
import org.junit.AfterClass; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
import fi.helsinki.cs.tmc.edutestutils.Points; | |
import fi.helsinki.cs.tmc.edutestutils.Reflex; | |
import fi.helsinki.cs.tmc.edutestutils.Reflex.ClassRef; | |
import fi.helsinki.cs.tmc.edutestutils.Reflex.MethodRef1; | |
import org.junit.AfterClass; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Main { | |
public static Scanner input = new Scanner(System.in); | |
public static void opettaminen(OppivaTekoaly a, OppivaTekoaly b) { | |
// BEGIN SOLUTION | |
for (int i = 0; i < 100000; i++) { | |
int tikut = 99; | |
int valinta; |
OlderNewer