add failing tests

This commit is contained in:
haven1433
2023-03-30 20:17:34 -05:00
parent 380af0d051
commit c2d96ae9b9
2 changed files with 19 additions and 0 deletions

View File

@@ -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
}
}
}

View File

@@ -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);
}
}
}