mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-02 05:06:35 -05:00
add failing tests
This commit is contained in:
@@ -108,5 +108,15 @@ namespace HavenSoft.HexManiac.Integration {
|
||||
|
||||
AssertNoConflicts(emerald);
|
||||
}
|
||||
|
||||
[SkippableFact]
|
||||
public void Emerald_ChangeTrainerPokemonPointerToUsedAddress_NoAssert() {
|
||||
var emerald = LoadEmerald();
|
||||
|
||||
emerald.Goto.Execute("data.trainers.stats/marcel/pokemon");
|
||||
emerald.Edit("<00030B>");
|
||||
|
||||
// no debug assert = pass
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using HavenSoft.HexManiac.Core;
|
||||
using HavenSoft.HexManiac.Core.Models.Runs;
|
||||
using HavenSoft.HexManiac.Core.ViewModels.DataFormats;
|
||||
using HavenSoft.HexManiac.Core.ViewModels.Map;
|
||||
using HavenSoft.HexManiac.Core.ViewModels.Tools;
|
||||
using System;
|
||||
@@ -163,5 +164,13 @@ namespace HavenSoft.HexManiac.Integration {
|
||||
|
||||
Assert.Equal(3000, firered.MapEditor.PrimaryMap.MapID);
|
||||
}
|
||||
|
||||
[SkippableFact]
|
||||
public void FireRed_LoadStartingMap_SignpostsLoadCorrectly() {
|
||||
var firered = LoadReadOnlyFireRed();
|
||||
var table = firered.Model.GetTable("data.maps.banks/3/maps/0/map/0/events/");
|
||||
var format = (Pointer)table.CreateDataFormat(firered.Model, table.Start + table.Length - 1);
|
||||
Assert.False(format.HasError);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user