Note.java

1
package com.github.dakusui.symfonion.song;
2
3
public class Note {
4
	int key;
5
	int accent;
6
	public Note(int key, int accent) {
7
		this.key = key;
8
		this.accent = accent;
9
	}
10
	public int key() {
11 1 1. key : replaced int return with 0 for com/github/dakusui/symfonion/song/Note::key → KILLED
		return this.key;
12
	}
13
	public int accent() {
14 1 1. accent : replaced int return with 0 for com/github/dakusui/symfonion/song/Note::accent → SURVIVED
		return this.accent;
15
	}
16
}

Mutations

11

1.1
Location : key
Killed by : com.github.dakusui.symfonion.tests.MidiCompilerTest.exercise[8: POSITIVE: given: 'a note and controls (program change, volume, pan, chorus, reverb, modulation, and pitch)' when: 'compile' then: 'note on/off, program change, and volume are included.'](com.github.dakusui.symfonion.tests.MidiCompilerTest)
replaced int return with 0 for com/github/dakusui/symfonion/song/Note::key → KILLED

14

1.1
Location : accent
Killed by : none
replaced int return with 0 for com/github/dakusui/symfonion/song/Note::accent → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.15.3