dustbox 0.0.1

PC x86 emulator with the goal of easily running MS-DOS games on Windows, macOS and Linux.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::debug::breakpoints::Breakpoints;

#[test]
fn sorted_breakpoints() {
    let mut bps = Breakpoints::default();
    bps.add(3);
    bps.add(1);
    bps.add(2);

    assert_eq!(vec![1,2,3], bps.get());
}