NoteSet.java

1
package com.github.dakusui.symfonion.song;
2
3
import java.io.Serial;
4
import java.util.LinkedList;
5
6
import com.github.dakusui.symfonion.utils.Fraction;
7
8
public class NoteSet extends LinkedList<Note> {
9
10
	/**
11
	 * Serial version UID.
12
	 */
13
	@Serial
14
	private static final long serialVersionUID = -6221696604950143374L;
15
	
16
	Fraction length;
17
	
18
	public void setLength(Fraction length) {
19
		this.length = length;
20
	}
21
	
22
	public Fraction getLength() {
23 1 1. getLength : replaced return value with null for com/github/dakusui/symfonion/song/NoteSet::getLength → KILLED
		return this.length;
24
	}
25
26
}

Mutations

23

1.1
Location : getLength
Killed by : com.github.dakusui.symfonion.tests.cli.subcommands.CompileTest.test(com.github.dakusui.symfonion.tests.cli.subcommands.CompileTest)
replaced return value with null for com/github/dakusui/symfonion/song/NoteSet::getLength → KILLED

Active mutators

Tests examined


Report generated by PIT 1.15.3