Skip to content

どこでtestが実行されているかわかりません。教えてください。 #5

@hiragaatsuya

Description

@hiragaatsuya

assignment1-fibonacci.scala以外のコードを無変更のままrunを行った時に
sbt:assignment1> run
[warn] compile:run::javaOptions will be ignored, compile:run::fork is set to false
[info] Running prg1.assignment1.FIB
[debug] Waiting for threads to exit or System.exit to be called.
[debug] Classpath:
[debug] /var/folders/fp/73nzb27158n94p_21spd4tkr000lxm/T/sbt_3f3dc752/job-22/target/5728f2f4/assignment1_2.12-0.1-SNAPSHOT.jar
[debug] /var/folders/fp/73nzb27158n94p_21spd4tkr000lxm/T/sbt_3f3dc752/target/f2e496f2/scala-library.jar
[debug] /var/folders/fp/73nzb27158n94p_21spd4tkr000lxm/T/sbt_3f3dc752/target/edec4390/scalactic_2.12-3.0.5.jar
[debug] /var/folders/fp/73nzb27158n94p_21spd4tkr000lxm/T/sbt_3f3dc752/target/a017f8f6/scala-reflect.jar
[debug] Waiting for thread run-main-15 to terminate.
55
fib_rec: 72682ns
55
fib_itr: 10609ns
55
fib_matrix: 48554ns
0
fib_polynomial: 6472ns
[debug] Thread run-main-15 exited.
[debug] Interrupting remaining threads (should be all daemons).
[debug] Sandboxed run complete..
[debug] Exited with code 0
[success] Total time: 1 s, completed 2018/10/03 14:09:29
と表示されたのですが、どこでtestが実行されていますか?それともそもそも無変更の場合に
test("FIB tests") {
fib_itr(2) should equal (fib_rec(2))
}
は実行されないようになっていますか?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions